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
commitd1e0df82da8caf874d06a89f40538c067c165f4b (patch)
tree0c4b547e6b8b14bd21b0b20ccf6ddbca3dfc5101 /gst/qtdemux/qtdemux.h
parent9c10d61e50fa75852ea5fb80e3bad0b7a9d8a4de (diff)
downloadgst-plugins-bad-d1e0df82da8caf874d06a89f40538c067c165f4b.tar.gz
gst-plugins-bad-d1e0df82da8caf874d06a89f40538c067c165f4b.tar.bz2
gst-plugins-bad-d1e0df82da8caf874d06a89f40538c067c165f4b.zip
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 {