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
Edward Hervey
2cc06f7aaf
mpeg2dec: Don't use NULL values for fbuf
...
We need to make a difference between the initial dummy buffers (which
have a fbuf->id of NULL) and the buffers on which we allocated
video frames.
2012-08-06 11:53:55 +02:00
Tim-Philipp Müller
0fc5ee819d
Automatic update of common submodule
...
From 94ccf4c to 668acee
2012-08-05 16:40:57 +01: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
Edward Hervey
707b14a2ef
mpeg2dec: Avoid dropping first GOP
...
We use the mpeg2_fbuf_t id field as an integer and not as a pointer, so
do not check if it is NULL or not.
And cleanup a bit of debug
2012-07-26 18:30:04 +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
Wim Taymans
f0b0ffa1cf
mpeg2dec: copy buffer flags when cropping
...
When we crop a buffer, copy the flags as well.
2012-07-23 13:32:26 +02:00
Robert Swain
5bc6b54185
mpeg2dec: Fix GstVideoInfo pointer
2012-07-23 11:28:51 +02:00
Robert Swain
870fe4e7ec
mpeg2dec: Correctly flag output buffer interlaced state
...
If the sequence is not flagged as progressive its buffers are marked
interlace mode mixed. There is an individual picture flag indicating
whether picture in the sequence are interlaced or not. This is used
along with the new GST_VIDEO_BUFFER_FLAG_INTERLACED to correctly and
completely indicate the buffer's interlaced state.
Also, TFF and RFF should only be set if the sequence is not progressive.
2012-07-23 11:15:47 +02:00
Sebastian Dröge
a20ba81f9a
ext: Update for video base classes API changes
2012-07-23 10:33:33 +02:00
Sebastian Dröge
5f80a0b91b
Automatic update of common submodule
...
From 98e386f to 94ccf4c
2012-07-23 08:45:55 +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
Edward Hervey
89ff56321f
mpeg2dec: Propagate GstFlowReturn where needed
...
It was just ignoring the return values...
2012-07-19 10:00:32 +02:00
Edward Hervey
e0a5d6de60
mpeg2dec: Store temporary buffers out of the way
...
When mpeg2dec needs to do cropping (because downstream can't handle it),
we need temporary buffers to decode to.
Use the user_data field to store those, and unify the rest of the code
that needs to touch a buffer (regardless of how/where it was allocated).
https://bugzilla.gnome.org/show_bug.cgi?id=680194
2012-07-19 10:00:32 +02:00
Edward Hervey
090e139048
mpeg2dec: Call gst_video_decoder_negotiate()
2012-07-18 18:33:23 +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
Tim-Philipp Müller
d6dbd2094e
dvdreadsrc: mustn't drop queries like caps query if not started yet
2012-07-17 20:57:39 +01:00
Tim-Philipp Müller
ff9aa50bc8
asfdemux: extract WM/Year as GstDateTime instead of GDate
...
So we can signal that only the year field is valid.
2012-07-15 20:12:46 +01:00
Tim-Philipp Müller
0c6e50a7b8
asfdemux: don't leak payload if we are not pushing it
2012-07-13 15:41:05 +01:00
Edward Hervey
2a0945887e
demuxers: Push STREAM_START when needed
2012-07-13 13:59:42 +02:00
Wim Taymans
fb8a3d2174
asf: don't push on inactive streams
2012-07-13 11:36:40 +02:00
Tim-Philipp Müller
b8beab38eb
dvdreadsrc: set rank to NONE
...
It should never be autoplugged really, for DVD
playback there's rsndvd (or will be, realsoonnow).
2012-07-12 18:05:10 +01:00
Wim Taymans
91ba1a2ebb
fix for allocator API changes
2012-07-09 16:27:25 +02:00
Wim Taymans
f711750bba
update for query api changes
2012-07-06 11:50:55 +02:00
Wim Taymans
ddd57f9107
update for query api changes
2012-07-06 11:27:27 +02:00
Wim Taymans
ef07bb9d47
update for allocation query changes
2012-07-06 11:05:17 +02:00
Tim-Philipp Müller
eaa4f8b045
LICENSE_readme: fix typo
2012-07-05 23:23:33 +01:00
Tim-Philipp Müller
615045529b
LICENSE_readme: mention x264
...
https://bugzilla.gnome.org/show_bug.cgi?id=679472
2012-07-05 22:48:18 +01:00
Sebastian Dröge
3cf076035d
gst: Implement segment-done event
2012-07-05 13:12:45 +02:00
Wim Taymans
e8bc11bfbd
asf: fix x-wmv format in caps
2012-06-27 11:23:36 +02:00
Wim Taymans
234d15c9d0
asf: unmap packets
2012-06-27 10:24:45 +02:00
Bastien Nocera
53cfef3e0f
asfdemux: Ignore parsing errors from broken packets
...
We should instead be counting the number of errors and exiting if
they're too numerous. This makes a number of broken ASF files playable.
https://bugzilla.gnome.org/show_bug.cgi?id=678543
Conflicts:
gst/asfdemux/asfpacket.c
gst/asfdemux/gstasfdemux.c
2012-06-27 10:21:15 +02:00
Wim Taymans
8fd4a75f47
fix interlace-mode
2012-06-26 17:15:43 +02:00
Sebastian Dröge
7c99d37ad6
mpeg2dec: Add comment explaining why we first chain up to the parent class' decide_allocation
2012-06-25 09:43:53 +02:00
Sebastian Dröge
a7aa984d67
mpeg2dec: Set allocation parameters to guarantee 16-byte aligned output buffers
...
Fixes bug #377713 .
2012-06-25 09:34:53 +02:00
Matej Knopp
711d2b18a7
x264enc: Fix unitialized variable and taglist event
2012-06-21 08:45:22 +01:00
Wim Taymans
ca77ad4e05
mpeg2dec: fix compilation
2012-06-20 13:23:51 +02:00
Wim Taymans
d90fd7a250
update for task api change
2012-06-20 10:39:37 +02:00
Wim Taymans
e956902511
fix compilation
2012-06-20 10:39:24 +02:00
Sebastian Dröge
349eb6710e
mpeg2dec: Port to 0.11 again
2012-06-20 09:06:37 +01:00