Tim-Philipp Müller
1ab41f83b7
cdiocddasrc: detect whether drive produces samples in non-host endianness
...
If drive produces samples in other endianness than the host,
we need to byte swap them before pushing them out, or we
produce nothing but noise. cdparanoia detects this automatically,
but libcdio does not, so we have to do it ourselves.
This is needed on e.g. the PowerBook G4 with Matshita UJ-816 drive.
https://bugzilla.gnome.org/show_bug.cgi?id=377280
2012-11-27 18:12:43 +00:00
Sebastian Dröge
fcd55cfd12
x264enc: Add support for 10-bit color formats
...
Requires x264 to be built with 10-bit support, which disables
9-bit support. Also only advertise the color formats that were
compiled into x264.
2012-11-15 16:42:09 +01:00
Sebastian Dröge
d098eb0941
x264enc: Add support for Y444, Y42B and NV12
2012-11-15 16:21:49 +01:00
Tim-Philipp Müller
c4335cf663
cdio: use gst_tag_freeform_string_to_utf8() for CD-TEXT strings
...
They're probably not going to be UTF-8, but ISO-8859-1 or somesuch
if they're not plain ASCII.
2012-11-11 20:42:42 +00: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
Wim Taymans
b979e19af7
siddec: reset bytes counter
...
Reset the total_bytes counter so that we get timestamps correct.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=686931
2012-10-30 09:20:04 +00:00
Mark Nauwelaerts
f4248f002a
dvdreadsrc: correctly set next cell when seeking to sector
2012-10-18 22:19:04 +02:00
Mark Nauwelaerts
c7272913d1
dvdreadsrc: update dvd event to enhanced approach
...
... in line with resindvdsrc.
2012-10-12 14:49:28 +02:00
Jan Schmidt
6d35db313f
mpeg2dec: Don't error out when there is no associated buffer
...
In 0.10, having mpeg2dec occasionally tell us to output a frame that
was never decoded was just ignored, so do the same in 1.0
Fixes : #685107
2012-10-01 10:43:26 +10:00
Tim-Philipp Müller
4935096912
x264enc: when setting fallback decoder latency, set valid min_latency
...
Min. latency needs to be a valid time, so pass 0 as default
value in the fallback case where we can't determine any latency,
and avoid nasty criticals at runtime.
2012-09-26 01:05:52 +01:00
Tim-Philipp Müller
5f9a086484
Remove -DGST_USE_UNSTABLE_API
2012-09-17 16:57:30 +01:00
Tim-Philipp Müller
59c54c7a66
cdio: work around cdio headers re-defining VERSION and PACKAGE_VERSION
...
Thanks guys. Fixes plugin version in gst-inspect-1.0 and docs
introspection/updating for this plugin.
2012-09-17 12:25:25 +01:00
Wim Taymans
49f5cb7d76
rename some caps and elements in examples
2012-09-14 16:28:54 +02:00
Jan Schmidt
ddd13808b3
mpeg2dec: Hold ref to buffer while mapped
...
So that the buffer still exists when we go to unmap it later,
even if it got pushed in the meantime.
2012-09-11 23:16:45 -07:00
Wim Taymans
a0e9f6890e
mad: fix email address
2012-09-11 11:14:19 +02:00
Wim Taymans
acbf0313ef
mad: init base class method only once
2012-09-11 11:14:19 +02:00
Mark Nauwelaerts
b06e81b532
x264enc: clean up some debug statements
2012-09-09 16:04:56 +02:00
Mark Nauwelaerts
839e75d5d1
x264enc: handle possibly negative DTS provided by codec
...
... by arranging for an offset such that DTS == PTS for keyframes,
which is expected elsewhere to go along with semantics of PTS and DTS.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=679443
2012-09-07 17:38:40 +02:00
Sebastian Dröge
9390195cfe
x264enc: Use new video encoder base class API for handling tags
2012-08-09 16:30:10 +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
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
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
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
d6dbd2094e
dvdreadsrc: mustn't drop queries like caps query if not started yet
2012-07-17 20:57:39 +01:00
Edward Hervey
2a0945887e
demuxers: Push STREAM_START when needed
2012-07-13 13:59:42 +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
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
Sebastian Dröge
d424827283
x264enc: Fix compiler warning
2012-06-19 15:19:28 +01:00
Edward Hervey
c31467413a
mpeg2dec: Report PAR if not present upstream
...
And clean up some code
2012-06-19 14:10:20 +01:00
Nicolas Dufresne
32c45932e4
mpeg2dec: use _scale_ceil to compute frame period
...
https://bugzilla.gnome.org/show_bug.cgi?id=675769
2012-06-19 14:10:20 +01:00
Nicolas Dufresne
4bfeef832e
mpeg2dec: mpeg2dec actually has 3 frame latency
...
https://bugzilla.gnome.org/show_bug.cgi?id=675769
2012-06-19 14:10:20 +01:00
Nicolas Dufresne
da928611b7
mpeg2dec: Fix large output buffers leak
2012-06-19 14:10:20 +01:00