summaryrefslogtreecommitdiffstats
path: root/gtk/src/hb-backend.c
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2008-11-30 04:01:14 +0000
committerjstebbins <[email protected]>2008-11-30 04:01:14 +0000
commit98e27438a5fc1d977c16539f89507ca82dce903f (patch)
tree45b1fdc375ec812141d1a409c8c0b27e1a0b8882 /gtk/src/hb-backend.c
parent69f6bca6694d93d05a69bad93a748cf31d52c28f (diff)
LinGui: variable number of preview frames. preference option to set
the number of frames git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1971 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'gtk/src/hb-backend.c')
-rw-r--r--gtk/src/hb-backend.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/src/hb-backend.c b/gtk/src/hb-backend.c
index 5c8741411..252d96f9e 100644
--- a/gtk/src/hb-backend.c
+++ b/gtk/src/hb-backend.c
@@ -1996,9 +1996,9 @@ ghb_backend_close()
}
void
-ghb_backend_scan(const gchar *path, gint titleindex)
+ghb_backend_scan(const gchar *path, gint titleindex, gint preview_count)
{
- hb_scan( h_scan, path, titleindex );
+ hb_scan( h_scan, path, titleindex, preview_count, 1 );
hb_status.scan.state |= GHB_STATE_SCANNING;
// initialize count and cur to something that won't cause FPE
// when computing progress
@@ -2010,7 +2010,7 @@ void
ghb_backend_queue_scan(const gchar *path, gint titlenum)
{
g_debug("ghb_backend_queue_scan()");
- hb_scan( h_queue, path, titlenum );
+ hb_scan( h_queue, path, titlenum, 10, 0 );
hb_status.queue.state |= GHB_STATE_SCANNING;
}