Commit graph

4392 commits

Author SHA1 Message Date
Robert Swain
6f2db739ae x264enc: Work around a rate control issue in libx264
When variable framerate is disabled in libx264 (which occurs when using
the zerolatency tuning), libx264 ignores timestamps but still uses the
timebase leading to messed up rate control with our nanosecond timebase.

We work around this issue by setting the timebase to the reciprocal of
the framerate and we validate that the framerate is suitable.

This has been fixed upstream in libx264 but there are non-fixed versions
in the wild so this workaround is still needed.

Fixes bug #632861
2010-10-22 15:55:34 +02:00
Sebastian Dröge
0fa75d404b mpeg2dec: Use gst_pad_peer_query() instead of getting the peer pad manually 2010-10-19 16:31:23 +02:00
Guillaume Emont
7fb7129a83 mpeg2dec: fix position query by trusting upstream
Position queries are badly handled for DVDs (probably due to the division in
chapters): the time returned was the time since the start of chapter.

Now ask upstream for position queries, fall back to the old code if upstream
cannot answer the query.
2010-10-19 16:31:23 +02:00
Stefan Kost
26cd4ee3a0 various: canonicalize property names 2010-10-19 12:24:13 +03:00
Stefan Kost
3bb4b5069e various (ext): add a missing G_PARAM_STATIC_STRINGS flags 2010-10-19 10:06:33 +03:00
Stefan Kost
91f9b986a1 various (gst): add a missing G_PARAM_STATIC_STRINGS flags 2010-10-19 09:51:23 +03:00
David Schleef
1af3f73e8d Automatic update of common submodule
From 5a668bf to 7bbd708
2010-10-14 12:32:16 -07:00
David Schleef
747c327100 Automatic update of common submodule
From c4a8adc to 5a668bf
2010-10-08 12:44:52 -07:00
Sebastian Dröge
ceb80a75ea Automatic update of common submodule
From 5e3c9bf to c4a8adc
2010-10-08 12:56:05 +02:00
Mark Nauwelaerts
7bba22772e mad: support reverse playback 2010-10-04 10:33:28 +02:00
Tim-Philipp Müller
7192b9f6b3 dvdreadsrc: improve error messages on read errors
Provide proper i18n-ed error messages when a read error happens,
and point out that the error could be happening because the
DVD is scrambled.

https://bugzilla.gnome.org/show_bug.cgi?id=613633
2010-09-26 19:32:46 +01:00
Tim-Philipp Müller
b369f1d714 configure: set plugin release datetime 2010-09-24 00:03:50 +01:00
Edward Hervey
412cebf86a Automatic update of common submodule
From aa0d1d0 to 5e3c9bf
2010-09-21 18:34:31 +02:00
Tim-Philipp Müller
ccb624ec03 mpegparse: re-fix flow return handling
Fix wrong GST_FLOW_IS_SUCCESS substitution in commit e99cb46c:
-  } while (GST_FLOW_IS_SUCCESS (result));
+  } while (result != GST_FLOW_OK);
2010-09-15 20:19:26 +01:00
Stefan Kost
8623c31bae tests: allow running state tests for all elements
Now one can use GST_NO_STATE_IGNORE_ELEMENTS=1 make generic/states.check
to try elements that would normaly be skipped.
2010-09-09 22:33:36 +03:00
Tim-Philipp Müller
30d07e262c New pkgconfig subdirectory needs to be added to SUBDIRS as well so it's entered and disted 2010-09-09 09:53:07 +01:00
Tim-Philipp Müller
bafd2cb4c6 Add gstreamer-plugins-ugly-uninstalled-0.10.pc file so other modules can find our plugins
This .pc file will not be installed, it's only for uninstalled setups,
same thing as we do for -good. This is so other modules' unit tests can
find our plugins properly in an uninstalled setup.
2010-09-08 00:11:53 +01:00
Tim-Philipp Müller
441b894af5 Automatic update of common submodule
From c2e10bf to aa0d1d0
2010-09-07 11:42:52 +01:00
Tim-Philipp Müller
d261f9bff6 configure: re-enable use of -DGST_DISABLE_DEPRECATED in git versions 2010-09-06 23:53:10 +01:00
Tim-Philipp Müller
c33e70af70 siddec: don't use GST_FLOW_IS_FATAL
GST_FLOW_IS_FATAL has been deprecated in core git.
2010-09-06 23:51:23 +01:00
David Schleef
c16d189a0b Automatic update of common submodule
From d3d9acf to c2e10bf
2010-09-05 18:58:50 -07:00
Sebastian Dröge
790f308986 configure: Require orc >= 0.4.6 for --compat 2010-09-05 12:27:40 +02:00
Sebastian Dröge
dea80a7742 Automatic update of common submodule
From ec60217 to d3d9acf
2010-09-05 12:20:22 +02:00
Sebastian Dröge
31010493ea mpeg2dec: Don't use GST_FLOW_IS_FATAL()
And don't post error messages if allocating a buffer resulted
in WRONG_STATE or UNEXPECTED.
2010-09-04 14:57:51 +02:00
Sebastian Dröge
bd65afed85 xingmux: Don't ignore WRONG_STATE and NOT_LINKED when pushing data downstream 2010-09-04 14:57:51 +02:00
Sebastian Dröge
e99cb46c60 mpegstream: Don't use GST_FLOW_IS_SUCCESS() 2010-09-04 14:57:51 +02:00
Sebastian Dröge
f3fa6f6de0 rmdemux: Don't use GST_FLOW_IS_FATAL() and GST_FLOW_IS_SUCCESS() 2010-09-04 14:57:51 +02:00
Sebastian Dröge
704b371944 asfdemux: Don't use GST_FLOW_IS_FATAL()
And don't post error messages for UNEXPECTED and post an error
message if pulling data failed because of NOT_LINKED.
2010-09-04 14:57:51 +02:00
Tim-Philipp Müller
080b3673a9 Back to development
Temporarily disable -DGST_DISABLE_DEPRECATED for git builds until
the code is updated for the GST_FLOW_IS_* macro deprecations.
2010-09-04 13:17:53 +01:00
Tim-Philipp Müller
c525b03a08 Release 0.10.16 2010-09-02 23:59:20 +01:00
Tim-Philipp Müller
e26375f3ab docs: update docs for release 2010-09-02 23:58:22 +01:00
Tim-Philipp Müller
b6f54b7685 po: update translations 2010-09-02 23:58:06 +01:00
Sebastian Dröge
bfbfdd566d 0.10.15.6 pre-release 2010-08-30 16:02:24 +02:00
Edward Hervey
776a09149e asfdemux: Don't error out on non-critical flow returns
Only error out when downstream returns:
* NOT_SUPPORTED
* ERROR
* NOT_NEGOTIATED
* NOT_LINKED

If we got _UNEXPECTED, we push an EOS downstream (since maybe only one
of the streams had gone EOS) and then stop the task silently.

In the case of WRONG_STATE we just need to stop silently

https://bugzilla.gnome.org/show_bug.cgi?id=600412
2010-08-27 17:59:12 +02:00
Sebastian Dröge
ce8e49c956 0.10.15.5 pre-release 2010-08-25 19:02:02 +02:00
Alessandro Decina
2ca354e3ab mp3parse: propagate flow errors upstream.
Remove a wrong GST_FLOW_IS_FATAL call. When pushing fails, mp3parse should
always return the error upstream.
2010-08-25 15:39:33 +02:00
Sebastian Dröge
49c2fdd4f9 0.10.15.4 pre-release 2010-08-21 21:42:25 +02:00
Stefan Kost
5d26f86b5e Automatic update of common submodule
From 3e8db1d to ec60217
2010-08-13 17:24:41 +03:00
Tim-Philipp Müller
ed31d6281b 0.10.15.3 pre-release 2010-08-11 16:49:30 +01:00
Robert Swain
f45ff93586 x264enc: Fix b-pyramid libx264 API boolean arg for non-boolean issue
In X264_BUILD >= 78, b-pyramid became a non-boolean so passing a boolean
argument to the option string value causes an error. For < 78 we pass the
boolean value, for >= 78 we use the x264_b_pyramid_names[] array which will
result in passing 'none' for false and 'strict' for true. Other modes can be
set through the option-string property for now.

https://bugzilla.gnome.org/show_bug.cgi?id=626577
2010-08-11 16:47:12 +01:00
Tim-Philipp Müller
dd4b42e5f0 0.10.15.2 pre-release 2010-08-11 00:02:47 +01:00
Stefan Kost
73cc65fa88 synaesthesia: code cleanups.
Remove unused boilerplate for signals. Use _OBJECT variants of logging macros
more.
2010-08-10 14:37:39 +03:00
Stefan Kost
ed9fd645ad synaesthesia: use GST_BOILERPLATE macros 2010-08-10 14:29:05 +03:00
Tim-Philipp Müller
872e03b4bd Automatic update of common submodule
From bd2054b to 3e8db1d
2010-08-10 10:59:04 +01:00
Tim-Philipp Müller
5225f5cc16 x264: fix printf format warning in debug message 2010-08-09 00:31:15 +01:00
Tim-Philipp Müller
d114b121db docs: fix bug passing arguments to gtkdoc-fixref in upload target
Missing backslash at end of line meant we weren't passing all arguments
to gtkdoc-fixref and we'd get a shell error when doing 'make upload'.
2010-08-07 00:09:47 +01:00
Stefan Kost
372e0f59a1 Automatic update of common submodule
From a519571 to bd2054b
2010-08-05 13:57:26 +03:00
Sebastian Dröge
a924fe8e3f configure: Check if the compiler supports ISO C89 or C99 and which parameters are required
This first checks what is required for ISO C99 support and sets the relevant
compiler parameters and if no C99 compiler is found, it checks for a
C89 compiler. This enables us to check for and use C89/C99 functions
that gcc hides from us without the correct compiler parameters.
2010-08-04 19:28:09 +02:00
Robert Swain
a441e5b6ef x264enc: Fix flushing of delayed frames
x264_encoder_encode() should be called with a NULL picture until at least
x264_encoder_delayed_frames() returns 0. This fixes what appeared to be a
regression in make check due to the recent change in defaults which enabled
b-frames and b-pyramid, both of which I believe increase the number of delayed
frames when encoding.
2010-07-30 09:59:08 +02:00
Robert Swain
60d647dcf5 x264enc: Improve x264enc defaults
- medium x264 speed/quality preset
- threads defaults to 0 which automatically uses 1.5x number of cpu cores

Addresses part of bug #607798
2010-07-26 14:29:02 +02:00