diff options
author | Julien Moutte <julien@moutte.net> | 2007-08-14 14:22:09 +0000 |
---|---|---|
committer | Julien Moutte <julien@moutte.net> | 2007-08-14 14:22:09 +0000 |
commit | 170c01e6c1ea98c3162819d5d2d7007a7cab6d8d (patch) | |
tree | 21e3b9c5086898bc54eefdbf50d9b189b61acb78 /gst/flv/gstflvdemux.h | |
parent | addc96d983b84ed7257e462dc344b8474bc15d7a (diff) | |
download | gst-plugins-bad-170c01e6c1ea98c3162819d5d2d7007a7cab6d8d.tar.gz gst-plugins-bad-170c01e6c1ea98c3162819d5d2d7007a7cab6d8d.tar.bz2 gst-plugins-bad-170c01e6c1ea98c3162819d5d2d7007a7cab6d8d.zip |
gst/flv/gstflvdemux.c: First method for seeking in pull mode using the index built step by step or coming from metadata.
Original commit message from CVS:
2007-08-14 Julien MOUTTE <julien@moutte.net>
* gst/flv/gstflvdemux.c: (gst_flv_demux_cleanup),
(gst_flv_demux_adapter_flush), (gst_flv_demux_chain),
(gst_flv_demux_pull_tag), (gst_flv_demux_do_seek),
(gst_flv_demux_handle_seek), (gst_flv_demux_sink_event),
(gst_flv_demux_src_event), (gst_flv_demux_query),
(gst_flv_demux_change_state), (gst_flv_demux_set_index),
(gst_flv_demux_get_index), (gst_flv_demux_dispose),
(gst_flv_demux_class_init): First method for seeking in pull
mode using the index built step by step or coming from metadata.
* gst/flv/gstflvdemux.h:
* gst/flv/gstflvparse.c: (FLV_GET_STRING),
(gst_flv_parse_metadata_item), (gst_flv_parse_tag_script),
(gst_flv_parse_tag_audio), (gst_flv_parse_tag_video): Parse
more metadata types and keyframes index.
Diffstat (limited to 'gst/flv/gstflvdemux.h')
-rw-r--r-- | gst/flv/gstflvdemux.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gst/flv/gstflvdemux.h b/gst/flv/gstflvdemux.h index 63878f1d..c3a4cf21 100644 --- a/gst/flv/gstflvdemux.h +++ b/gst/flv/gstflvdemux.h @@ -56,6 +56,12 @@ struct _GstFLVDemux GstPad *audio_pad; GstPad *video_pad; + + GstIndex *index; + gint index_id; + + GArray * times; + GArray * filepositions; GstAdapter *adapter; @@ -68,6 +74,7 @@ struct _GstFLVDemux GstFLVDemuxState state; guint64 offset; + guint64 cur_tag_offset; GstClockTime duration; guint64 tag_size; guint64 tag_data_size; @@ -106,5 +113,8 @@ struct _GstFLVDemuxClass GType gst_flv_demux_get_type (void); +gboolean gst_flv_demux_query (GstPad * pad, GstQuery * query); +gboolean gst_flv_demux_src_event (GstPad * pad, GstEvent * event); + G_END_DECLS #endif /* __FLV_DEMUX_H__ */ |