diff options
author | Sebastian Dröge <slomo@circular-chaos.org> | 2008-10-27 09:25:11 +0000 |
---|---|---|
committer | Sebastian Dröge <slomo@circular-chaos.org> | 2008-10-27 09:25:11 +0000 |
commit | 2dadd8a0cccf3655ef327f4b897f19d75c176e17 (patch) | |
tree | b9c7347854f4dc0b59368c26a9c037d26ff4eee8 /gst/flv/gstflvparse.h | |
parent | 04795346c5da5f10dcb013d89ca4b799497e89f2 (diff) | |
download | gst-plugins-bad-2dadd8a0cccf3655ef327f4b897f19d75c176e17.tar.gz gst-plugins-bad-2dadd8a0cccf3655ef327f4b897f19d75c176e17.tar.bz2 gst-plugins-bad-2dadd8a0cccf3655ef327f4b897f19d75c176e17.zip |
gst/flv/: In pull mode we create our own index before doing anything else and don't use the index provided by some fi...
Original commit message from CVS:
* gst/flv/gstflvdemux.c: (gst_flv_demux_create_index),
(gst_flv_demux_loop):
* gst/flv/gstflvparse.c: (gst_flv_parse_tag_script),
(gst_flv_parse_tag_audio), (gst_flv_parse_tag_video),
(gst_flv_parse_tag_timestamp):
* gst/flv/gstflvparse.h:
In pull mode we create our own index before doing anything else
and don't use the index provided by some files (which are more than
often incorrect and cause failed seeks).
For push mode we still use the index provided by the file and extend it
while doing the playback.
Diffstat (limited to 'gst/flv/gstflvparse.h')
-rw-r--r-- | gst/flv/gstflvparse.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/flv/gstflvparse.h b/gst/flv/gstflvparse.h index 0dfeaa97..55eae29e 100644 --- a/gst/flv/gstflvparse.h +++ b/gst/flv/gstflvparse.h @@ -38,7 +38,7 @@ GstFlowReturn gst_flv_parse_tag_type (GstFLVDemux * demux, const guint8 * data, GstFlowReturn gst_flv_parse_header (GstFLVDemux * demux, const guint8 * data, size_t data_size); -GstClockTime gst_flv_parse_tag_timestamp (GstFLVDemux *demux, const guint8 *data, size_t data_size); +GstClockTime gst_flv_parse_tag_timestamp (GstFLVDemux *demux, const guint8 *data, size_t data_size, size_t *tag_data_size); G_END_DECLS #endif /* __FLV_PARSE_H__ */ |