Sebastian Dröge
4fb63af272
amrwbdec: Remove some dead code
2013-12-05 12:16:45 +01:00
Sebastian Dröge
4b3199bb8e
amrnbdec: Remove some dead code
2013-12-05 12:16:38 +01:00
Sebastian Dröge
b378c171ff
amrnbdec: Use gst_audio_decoder_set_needs_format() instead of custom code
2013-12-05 12:09:04 +01:00
Sebastian Dröge
cf32f8f6a5
amrwbdec: Use gst_audio_decoder_set_needs_format() instead of custom code
2013-12-05 12:08:46 +01:00
Sebastian Dröge
6049866ca6
mpeg2dec: Use new gst_video_decoder_set_needs_format() API
2013-12-05 11:44:10 +01:00
Tim-Philipp Müller
88b27e30c9
x264enc: fix compiler warning
...
Compiler warns rightly about possibly uninitialized variable.
2013-11-29 15:54:55 +00:00
Tim-Philipp Müller
20d6dbd2f6
x264enc: fix crash on NULL caps when negotiation happens without a downstream peer
...
gst-launch-1.0 videotestsrc ! x264enc
2013-11-29 15:54:55 +00:00
Mark Nauwelaerts
8c1be8796e
mpeg2dec: graceful degradation for badly parsed input
2013-11-11 13:25:22 +01:00
Michael Esemplare
fc29cbaa54
x264enc: If FPS is available, set VFR to false
...
https://bugzilla.gnome.org/show_bug.cgi?id=708940
2013-10-04 12:07:31 +02:00
Andoni Morales Alastruey
03a98eabce
x264enc: Update the documentation to match the default profile used
...
https://bugzilla.gnome.org/show_bug.cgi?id=708036
2013-09-24 10:47:41 +02:00
Olivier Crête
b82703170a
x264enc: Implement getcaps that restricts the input format depending on the output profile
...
Also add some x264enc profile tests
https://bugzilla.gnome.org/show_bug.cgi?id=708326
2013-09-18 19:33:01 -04:00
Mathieu Duponchelle
0243810e1e
x264enc: Don't unref future state but the old one
...
Being silly will lead us nowhere.
2013-09-05 22:56:48 +02:00
Sebastian Dröge
55037ab411
x264enc: Check if we have an input state before using it
...
Flushing might happen before caps were set on the encoder,
which would lead to crashes here.
Thanks to Matej Knopp for analyzing this.
https://bugzilla.gnome.org/show_bug.cgi?id=707414
2013-09-04 16:33:18 +02:00
Matej Knopp
ae45623450
x264enc: fix unsigned comparison warning
2013-09-04 10:47:55 +02:00
Tim-Philipp Müller
6572393629
x264enc: log when we output a lower profile than requested
2013-08-27 14:13:06 +01:00
Sebastian Dröge
aab5534573
x264enc: Consider subset relations of profiles when setting srcpad caps
...
constrained-baseline is a subset of baseline, is a subset of main,
is a subset of high profile.
https://bugzilla.gnome.org/show_bug.cgi?id=705425
2013-08-21 18:35:09 +02:00
Tim-Philipp Müller
e0ae81ebac
x264enc: propagate flow return back to base class and upstream
...
https://bugzilla.gnome.org/show_bug.cgi?id=705425
2013-08-21 12:35:32 +01:00
Tim-Philipp Müller
71ce5136d1
x264enc: minor clean-up
...
We requires x264 build >= 120 now.
2013-08-17 23:09:15 +01:00
Sebastian Dröge
22b3a60dbd
mpeg2dec: Fix mpeg2_reset() calls
2013-08-15 15:30:31 +02:00
Sebastian Dröge
f541f94262
ext: Use new flush vfunc of video codec base classes and remove reset implementations
2013-08-15 15:27:48 +02:00
Edward Hervey
96c15877f2
mpeg2dec: Do a hard reset of flush_stop
...
Which is notified by hard == 0 with latest refactoring.
2013-08-02 08:25:49 +02:00
Edward Hervey
767005d8c0
x264: Fix dts comparision
...
We were assigning to a guint64 value (frame->dts) the sum of a unsigned
and signed value... resulting it the result never being < 0.
Instead just check if it is smaller before assigning to frame->dts.
2013-07-26 16:47:30 +02:00
Sebastian Dröge
f8e05c2af0
mpeg2dec: Clean up reset/start/stop handling
2013-07-25 13:35:44 +02:00
Sebastian Dröge
a4a89275f8
x264enc: React properly to flushing/resetting the encoder
...
https://bugzilla.gnome.org/show_bug.cgi?id=656007
2013-07-25 12:48:55 +02:00
Sebastian Dröge
828791fadc
siddec: Add support for group-id in the stream-start event
2013-07-22 16:02:46 +02:00
Edward Hervey
576fe462bc
mpeg2dec: Properly reset on sequence changes
...
Otherwise we end up using stray data/buffers.
Fixes #690701
2013-07-17 16:17:54 +02:00
Mark Nauwelaerts
d0502b0a52
dvdreadsrc: correctly determine last chapter's duration
...
This (mostly) reverts 683f5eeae7
.
It worked just fine before ...
2013-07-09 22:04:51 +02:00
Sreerenj Balachandran
866f60cce6
mpeg2dec: make the aspect ratio calculation more accurate.
...
Utilize the libmpeg2 api: mpeg2_guess_aspect() to guess the
aspect-ratio if we don't have a valid upstream PAR.
https://bugzilla.gnome.org/show_bug.cgi?id=685103
2013-06-04 17:29:31 +02:00
Olivier Crête
c9e20af4cb
lamemp3enc: Tell GstAudioEncoder about the number of incoming samples
...
lame does internal resampling, but the base class only cares about
the number of raw samples, so tell finish frames about that, not
the number of samples in the outgoing frame.:
2013-05-09 19:48:37 -04:00
Tim-Philipp Müller
62ac56668a
x264enc: output byte-stream if downstream has ANY caps
...
It's what people expect when they pipe the output to
filesink or into a tcp connection or pipe.
2013-04-30 10:04:23 +01:00
Sebastian Dröge
ef182de45f
gst: Add better support for static plugins
2013-04-15 15:56:02 +02:00
Tom Greenwood
2e38f24b56
x264enc: Fix for 0/1 framerate - now uses VFR in this case
...
Previously did a division by zero.
https://bugzilla.gnome.org/show_bug.cgi?id=695728
2013-03-25 10:08:44 +01:00
Tim-Philipp Müller
5f83e4101f
x264enc: simplify template caps
...
No need to make an array for one single element.
2013-02-08 00:15:01 +00:00
Tim-Philipp Müller
201e3f74be
x264enc: put all theoretically possible formats in template caps
...
and decide at runtime which subset of these (8-bit or 10-bit video
formats) is supported. libx264 will be compiled for one of these
two options, and it is possible to switch by pointing the dynamic
linker to a different libx264 build at runtime. If we want our
template caps to be correct, they should contain all then, with
the actually supported ones determined at runtime.
https://bugzilla.gnome.org/show_bug.cgi?id=691935
2013-02-08 00:11:03 +00:00
Tim-Philipp Müller
e765deb01b
x264enc: detect supported bit depth and pixel formats at runtime
...
http://bugs.debian.org/667573
https://bugzilla.gnome.org/show_bug.cgi?id=691935
2013-02-07 13:37:44 +00:00
Thijs Vermeir
6461d0e035
mpeg2dec: use appropriate printf format for gsize
2012-12-19 17:16:53 +01:00
Thijs Vermeir
d1f6c462c4
cdio: Fix redundant redeclaration of 'cdio_version_string'
...
cdio/version.h is already included by cdio/cdio.h
2012-12-19 17:15:03 +01:00
Wim Taymans
248b96d25e
siddec: init debug category
2012-12-01 13:26:26 +01:00
Tim-Philipp Müller
2b814e4191
dvdread: link to libgmodule-2.0 since the g_module_* API is used
...
And the gmodule lib has been moved into the Requires.private
section of the pkg-config file in core.
2012-11-30 20:09:03 +00:00
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