projects
/
handbrake
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de8a889
)
LinGui: fix a problem with encode cancel logic
author
jstebbins
<jstebbins.hb@gmail.com>
Sat, 18 Jul 2009 17:18:51 +0000
(17:18 +0000)
committer
jstebbins
<jstebbins.hb@gmail.com>
Sat, 18 Jul 2009 17:18:51 +0000
(17:18 +0000)
declining to cancel the encode would permit the current encode to continue,
but then the next encode would not start.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2713
b64f7644
-9d1e-0410-96f1-
a4d463321fa5
gtk/src/queuehandler.c
patch
|
blob
|
history
diff --git
a/gtk/src/queuehandler.c
b/gtk/src/queuehandler.c
index fbe7cce981b168e88f2d56863b88c8405908dbe5..fe3f2db873f47fcb402fde96ea5d581bd3023960 100644
(file)
--- a/
gtk/src/queuehandler.c
+++ b/
gtk/src/queuehandler.c
@@
-1196,8
+1196,8
@@
queue_start_clicked_cb(GtkWidget *xwidget, signal_user_data_t *ud)
state = ghb_get_queue_state();
if (state & (GHB_STATE_WORKING | GHB_STATE_SCANNING | GHB_STATE_MUXING))
{
- ud->cancel_encode = TRUE;
-
ghb_cancel_encode(NULL)
;
+ if (ghb_cancel_encode(NULL))
+
ud->cancel_encode = TRUE
;
return;
}