Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 313917 Details for
Bug 457186
Update to grip 3.3.1
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Corrected "execute command after encode" patch
grip-3.2.0-executionpatch.patch (text/plain), 2.51 KB, created by
Stefan Becker
on 2008-08-11 09:22:13 UTC
(
hide
)
Description:
Corrected "execute command after encode" patch
Filename:
MIME Type:
Creator:
Stefan Becker
Created:
2008-08-11 09:22:13 UTC
Size:
2.51 KB
patch
obsolete
>diff -up grip-3.2.0/src/grip.c.exec-after-encode grip-3.2.0/src/grip.c >--- grip-3.2.0/src/grip.c.exec-after-encode 2008-08-11 11:56:07.000000000 +0300 >+++ grip-3.2.0/src/grip.c 2008-08-11 11:56:07.000000000 +0300 >@@ -129,7 +129,8 @@ void DoSaveConfig(GripInfo *ginfo); > {"vol_vis",CFG_ENTRY_BOOL,0,&uinfo->volvis},\ > {"track_edit_vis",CFG_ENTRY_BOOL,0,&uinfo->track_edit_visible},\ > {"track_prog_vis",CFG_ENTRY_BOOL,0,&uinfo->track_prog_visible},\ >-{"volume",CFG_ENTRY_INT,0,&ginfo->volume}, >+{"volume",CFG_ENTRY_INT,0,&ginfo->volume},\ >+{"execute_after_encode_cmd",CFG_ENTRY_STRING,256,ginfo->execute_after_encode_cmd}, > > #define CDPAR_CFG_ENTRIES \ > {"disable_paranoia",CFG_ENTRY_BOOL,0,&ginfo->disable_paranoia},\ >diff -up grip-3.2.0/src/gripcfg.c.exec-after-encode grip-3.2.0/src/gripcfg.c >--- grip-3.2.0/src/gripcfg.c.exec-after-encode 2008-08-11 11:56:07.000000000 +0300 >+++ grip-3.2.0/src/gripcfg.c 2008-08-11 11:56:07.000000000 +0300 >@@ -475,6 +475,11 @@ void MakeConfigPage(GripInfo *ginfo) > 255,TRUE); > gtk_box_pack_start(GTK_BOX(vbox),entry,FALSE,FALSE,0); > gtk_widget_show(entry); >+ >+ entry=MakeStrEntry(NULL,ginfo->execute_after_encode_cmd,_("Execute command after encode"), >+ 255,TRUE); >+ gtk_box_pack_start(GTK_BOX(vbox),entry,FALSE,FALSE,0); >+ gtk_widget_show(entry); > > gtk_container_add(GTK_CONTAINER(page2),vbox); > gtk_widget_show(vbox); >diff -up grip-3.2.0/src/grip.h.exec-after-encode grip-3.2.0/src/grip.h >--- grip-3.2.0/src/grip.h.exec-after-encode 2004-04-15 20:51:47.000000000 +0300 >+++ grip-3.2.0/src/grip.h 2008-08-11 11:56:07.000000000 +0300 >@@ -311,6 +311,7 @@ typedef struct _grip_info { > int edit_num_cpu; > int mp3nice; > char mp3_filter_cmd[256]; >+ char execute_after_encode_cmd[256]; > gboolean doid3; > gboolean doid3v2; > gboolean tag_mp3_only; >diff -up grip-3.2.0/src/rip.c.exec-after-encode grip-3.2.0/src/rip.c >--- grip-3.2.0/src/rip.c.exec-after-encode 2008-08-11 11:56:07.000000000 +0300 >+++ grip-3.2.0/src/rip.c 2008-08-11 12:14:09.000000000 +0300 >@@ -1012,6 +1012,13 @@ void UpdateRipProgress(GripInfo *ginfo) > else RipIsFinished(ginfo,FALSE); > } > >+ /* Check if last encode finished */ >+ if(*ginfo->execute_after_encode_cmd&&!ginfo->rip_partial&& >+ !ginfo->ripping&&!ginfo->encode_list) >+ TranslateAndLaunch(ginfo->execute_after_encode_cmd,TranslateSwitch, >+ ginfo->encoded_track[mycpu],FALSE, >+ &(ginfo->sprefs),CloseStuff,(void *)ginfo); >+ > g_free(ginfo->encoded_track[mycpu]); > > if(!ginfo->rip_partial&&ginfo->encode_list) {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 457186
: 313917