summaryrefslogtreecommitdiffstats
path: root/gst/qtdemux/qtdemux.h
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@gmail.com>2006-04-04 08:31:10 +0000
committerWim Taymans <wim.taymans@gmail.com>2006-04-04 08:31:10 +0000
commit075303cf8e5ebe98220513f769cdea829e076035 (patch)
treef81bea128aa681fff39cfaa72bf6c423ecbe17f6 /gst/qtdemux/qtdemux.h
parentee11a20eca8f469b307e0d0c9ac289c5d7bfb8e0 (diff)
gst/qtdemux/qtdemux.*: Handle stss boxes so we can mark and find keyframes.
Original commit message from CVS: * gst/qtdemux/qtdemux.c: (gst_qtdemux_init), (gst_qtdemux_push_event), (gst_qtdemux_go_back), (gst_qtdemux_perform_seek), (gst_qtdemux_do_seek), (gst_qtdemux_handle_src_event), (plugin_init), (gst_qtdemux_change_state), (gst_qtdemux_loop_state_movie), (gst_qtdemux_loop), (gst_qtdemux_chain), (qtdemux_sink_activate_pull), (gst_qtdemux_add_stream), (qtdemux_parse), (qtdemux_parse_tree), (qtdemux_parse_trak), (qtdemux_parse_udta), (qtdemux_tag_add_str), (qtdemux_tag_add_num), (qtdemux_tag_add_gnre), (gst_qtdemux_handle_esds): * gst/qtdemux/qtdemux.h: Handle stss boxes so we can mark and find keyframes. Implement correct accurate and keyframe seeking. Use _DEBUG_OBJECT when possible.
Diffstat (limited to 'gst/qtdemux/qtdemux.h')
-rw-r--r--gst/qtdemux/qtdemux.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/gst/qtdemux/qtdemux.h b/gst/qtdemux/qtdemux.h
index 97b907f9..3a5d5c77 100644
--- a/gst/qtdemux/qtdemux.h
+++ b/gst/qtdemux/qtdemux.h
@@ -50,9 +50,9 @@ struct _GstQTDemux {
GstPad *sinkpad;
QtDemuxStream *streams[GST_QTDEMUX_MAX_STREAMS];
- int n_streams;
- int n_video_streams;
- int n_audio_streams;
+ gint n_streams;
+ gint n_video_streams;
+ gint n_audio_streams;
GNode *moov_node;
GNode *moov_node_compressed;
@@ -60,7 +60,7 @@ struct _GstQTDemux {
guint32 timescale;
guint32 duration;
- int state;
+ gint state;
gboolean pullbased;
@@ -81,7 +81,9 @@ struct _GstQTDemux {
guint64 last_ts;
+ /* configured playback region */
GstSegment segment;
+ gboolean segment_running;
};
struct _GstQTDemuxClass {