Commit graph

996 commits

Author SHA1 Message Date
Thiago Santos
3de558d96b asfdemux: Keep audio error checking fields only for audio
Video shouldn't need to be descrambled, this can cause frames data
to be corrupted

https://bugzilla.gnome.org/show_bug.cgi?id=684942
2013-10-22 16:16:43 -03:00
Thiago Santos
94a183a071 asfdemux: really copy the buffer data
Pass the copy-memory flag to copy the memory for the output buffer,
otherwise we end with 0-sized buffers

https://bugzilla.gnome.org/show_bug.cgi?id=684942
2013-10-22 15:24:04 -03:00
Thiago Santos
556055e2f1 asfdemux: Only use segment.start as seek_time if it is relative
Relying on the gst_segment_do_seek results for getting the
seeking time should not be used if seek type is SET because the
do_seek function makes the 'cur` position of the seek normalized
on the segment range. This means that seeking beyond the end of the
file might not result in instant EOS as it will end up seeking to
the final ts of the file.

In asf seeking to the final timestamp can lead to seeking to the last
keyframe, meaning a few seconds of video will still be played, which should
not be the desired behavior when seeking beyong file limits.
2013-09-24 14:43:34 -07:00
Thiago Santos
abe5ca6d96 asfdemux: Parse last simple index entry
The entry size is fixed at 6, fix typo to finish parsing the index
correctly until the last sample
2013-09-24 14:43:34 -07:00
Matej Knopp
c5312c7105 asfdemux: fix playback regression in push mode 2013-09-18 18:20:00 +02:00
Thiago Santos
6a5c767ce5 asfdemux: remove unused variable 2013-09-10 19:51:05 -03:00
Matej Knopp
fad302b573 asfdemux: fix build on C89 compilers 2013-08-08 11:56:19 +02:00
Matej Knopp
f27c832011 asfdemux: fix seeking in push mode 2013-08-08 11:56:19 +02:00
Sebastian Dröge
4b0f044151 gst: Don't swap start/stop for negative rates in the SEGMENT query 2013-07-29 12:13:17 +02:00
Sebastian Dröge
eb5dfd5436 real: Implement SEGMENT query 2013-07-29 10:57:38 +02:00
Sebastian Dröge
1ce9d7b2d1 asfdemux: Implement SEGMENT query 2013-07-29 10:56:06 +02:00
Matej Knopp
1803b3c185 asfdemux: Add support for dvr-ms
https://bugzilla.gnome.org/show_bug.cgi?id=705026
2013-07-29 10:07:55 +02:00
Edward Hervey
8f6e8ef56b rtspreal: Ensure output value has an assigned value
In the case where this macro was used, that dest was != NULL but that
the strncmp failed, we would end up with dest_len being undefined.
2013-07-26 16:47:48 +02:00
Thiago Santos
c2eb7118be asfdemux: fix seqnum handling for seeks
Use the same seqnum as the seek for flushes/segments that are
caused by the seek. Also do the same for segment events

Fixes #676242
2013-07-25 15:27:22 -03:00
Sebastian Dröge
a8a32d1317 realmedia: Add support for group-id in the stream-start event 2013-07-22 16:02:46 +02:00
Sebastian Dröge
bde41413f6 asfdemux: Add support for group-id in the stream-start event 2013-07-22 16:02:46 +02:00
Edward Hervey
3c6a9d3e37 rmdemux: Mark demuxer as "running" in push-mode
Allows queries (and other code) to be answered when working in push-mode.

Running would only be set to TRUE accordingly when working in pull-mode
once it had read header/index.

Fixes #680185
2013-07-18 17:15:25 +02:00
Wim Taymans
a5fed6c261 rdt: forward sticky events 2013-06-25 14:20:37 +02:00
Sebastian Dröge
ef182de45f gst: Add better support for static plugins 2013-04-15 15:56:02 +02:00
David Schleef
f8bbe696f5 Use %03u instead of %u in gst_pad_create_stream_id_printf() 2013-03-25 18:58:36 -07:00
Gautier Portet
cf3e901996 xingmux: Properly calculate the number of frames
First, the xing header frame is never added to the count,
we have to increment the count.
Secondly, there is a rounding error when calculating the
frame duration, as spf*GST_SECOND/rate is not an integer
(26122448.9) an it must be 26122449.
2012-11-09 11:33:40 +01:00
Michael Smith
e4a82bdbb1 dvdlpcmdec: Fix parsing of headers to set correct width to allow decode. 2012-11-05 13:20:31 -08:00
Tim-Philipp Müller
9c690b2018 Fix FSF address
https://bugzilla.gnome.org/show_bug.cgi?id=687520
2012-11-03 20:40:37 +00:00
Andreas Frisch
619d4db672 dvdsubdec: allocate correct amount of memory for bitmap
https://bugzilla.gnome.org/show_bug.cgi?id=687192
2012-10-30 13:28:09 +00:00
Scott Fan
bbe0cb0440 Makefile.am: Fix typos for generating the Android.mk files
Change libgstasfdemux to libgstasf, and change libgstrealmedia to libgstrmdemux.

The typos led to generate the incorrect Android.mk files for the asfdemux
and realmedia plugin.

https://bugzilla.gnome.org/show_bug.cgi?id=686748
2012-10-24 13:37:26 +01:00
Mark Nauwelaerts
5c0e0dd598 dvdsubparse: send src caps when receiving sink caps 2012-10-18 22:18:28 +02:00
Tim-Philipp Müller
c6b03d0c3b Purge mention of liboil and update REQUIREMENTS
https://bugzilla.gnome.org/show_bug.cgi?id=673285
2012-09-29 12:13:17 +01:00
Wim Taymans
c3b5d7e914 rmdemux: use DTS and PTS
Video uses DTS as timestamps. Set the DTS on the buffers and leave the PTS
undefined to make the decoder do the right thing. We can then remove the code
that tries to guess the PTS from the DTS.
2012-09-13 13:49:33 +02:00
Mark Nauwelaerts
f1a5ca10f4 gst: only activate in pull mode if upstream is seekable 2012-09-11 17:45:39 +02:00
Wim Taymans
414986e17b rademux: tags can be NULL 2012-09-11 11:28:06 +02:00
Mark Nauwelaerts
b456a16344 xingmux: remove defunct commented code 2012-09-11 10:46:52 +02:00
Mark Nauwelaerts
616e9fab0c dvbsubdec: handle and send GAP event
... in stead of update newsegment event.
2012-09-11 10:40:01 +02:00
Mark Nauwelaerts
7c36e720a9 dvbsubdec: adjust disabled code comment style 2012-09-11 10:34:40 +02:00
Tim-Philipp Müller
f79c6e4183 video/x-dvd-subpicture -> subpicture/x-dvd 2012-08-20 23:32:32 +01:00
Sebastian Dröge
3121d53fd3 dvdsubdec: Set alignment at the correct place of GstAllocationParams 2012-08-08 17:41:53 +02:00
Tim-Philipp Müller
7f7b4522fa gst: silence some compiler warnings with -DG_DISABLE_ASSERT 2012-08-08 15:23:27 +01:00
Sreerenj Balachandran
f7a4318b54 asfdemux: avoid some more invalid timestamp arithmetic
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=681291
2012-08-06 16:21:39 +02:00
Sebastian Dröge
87d9927126 gst: Add stream-id to stream-start events 2012-08-06 14:04:05 +02:00
Tim-Philipp Müller
c7fd90c842 gst_tag_list_free -> gst_tag_list_unref 2012-08-04 16:13:36 +01:00
Sebastian Dröge
32857a7621 tag: Update for taglist/tag event API changes 2012-07-28 00:35:59 +02:00
Wim Taymans
1f1bee783f rdt: add on-npt-stop signal
rtspsrc will look for it.
2012-07-25 13:05:17 +02:00
Wim Taymans
b9485b2305 rdt: set caps after activating the pad 2012-07-25 12:48:38 +02:00
Wim Taymans
445af55d9f rdt: reset map info 2012-07-25 12:48:06 +02:00
Wim Taymans
a04d61ee6d asfdepay: fix padding correction
Fix padding correction. gst_buffer_copy_into() appends the memory to the already
existing memory in the target buffer..

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=680536
2012-07-25 09:37:08 +02:00
Mark Nauwelaerts
95a5992d2b asfdemux: make sure to avoid arithmetic with _NONE timestamp 2012-07-20 16:19:04 +02:00
Nicolas Dufresne
cde5a81aba asfdemux: convert invalid 0 payload TS into GST_CLOCK_TIME_NONE
... so it does not get used as first (valid) payload ts, whereas
the first real valid payload ts may be considerably larger.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=679838
2012-07-20 16:19:01 +02:00
Mark Nauwelaerts
f7c5be9dd1 asfdemux: slightly relax supported seek requirements
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=680279
2012-07-20 14:53:05 +02:00
Tim-Philipp Müller
882e408340 rmdemux: give stream tags a different event name so they don't overwrite global tags
There can only be one taglist per name for sticky tag events.
Needs to be fixed more properly, see
https://bugzilla.gnome.org/show_bug.cgi?id=677619
2012-07-18 17:21:27 +01:00
Tim-Philipp Müller
b78454c868 rademux: set/send caps on pad after activating it 2012-07-18 16:49:47 +01:00
Tim-Philipp Müller
1c07373c2b rmdemux: set/send caps after activating the source pads
Makes sure the caps event isn't dropped immediately.
2012-07-18 16:46:46 +01:00