diff options
author | jstebbins <[email protected]> | 2008-11-24 00:18:17 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2008-11-24 00:18:17 +0000 |
commit | 8b085eff7b53cf7d23aa35e3f911dac0eeeb4967 (patch) | |
tree | c8562a1db0714af65b8e0e869929406b7fec8009 /gtk/src/hb-backend.h | |
parent | 6c5caabe379f39710f2a1f9b7493fcd913082fc6 (diff) |
LinGui: live preview.
this adds new prerequisites to the build. now needs:
gthread-2.0, gstreamer-0.10, gstreamer-interfaces-0.10,
gstreamer-video-0.10, gstreamer-pbutils-0.10
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1949 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'gtk/src/hb-backend.h')
-rw-r--r-- | gtk/src/hb-backend.h | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/gtk/src/hb-backend.h b/gtk/src/hb-backend.h index 48e85a966..16165d61b 100644 --- a/gtk/src/hb-backend.h +++ b/gtk/src/hb-backend.h @@ -26,10 +26,9 @@ enum GHB_ERROR_FAIL, }; -typedef struct ghb_status_s +typedef struct { gint state; - gint queue_state; // SCANNING gint title_count; @@ -46,6 +45,12 @@ typedef struct ghb_status_s gint minutes; gint seconds; gint error; +} ghb_instance_status_t; + +typedef struct +{ + ghb_instance_status_t scan; + ghb_instance_status_t queue; } ghb_status_t; #define GHB_SCALE_KEEP_NONE 0 @@ -96,11 +101,15 @@ void ghb_start_queue(void); void ghb_stop_queue(void); void ghb_pause_queue(void); -gint ghb_get_state(void); -void ghb_clear_state(gint state); +void ghb_add_live_job(GValue *js, gint unique_id); +void ghb_start_live_encode(); +void ghb_stop_live_encode(); + +void ghb_clear_scan_state(gint state); void ghb_clear_queue_state(gint state); void ghb_set_state(gint state); +gint ghb_get_scan_state(); gint ghb_get_queue_state(); void ghb_get_status(ghb_status_t *status); void ghb_track_status(void); @@ -137,5 +146,6 @@ gboolean ghb_validate_filter_string(const gchar *str, gint max_fields); void ghb_hb_cleanup(gboolean partial); gint ghb_lookup_combo_int(const gchar *name, const GValue *acodec); const gchar* ghb_lookup_combo_option(const gchar *name, const GValue *acodec); +gchar* ghb_get_tmp_dir(); #endif // _HBBACKEND_H_ |