platform/upstream/gstreamer.git
13 years agoudp: Fix compiler warning on mingw-w64
Raimo Järvi [Wed, 8 Jun 2011 15:33:10 +0000 (18:33 +0300)]
udp: Fix compiler warning on mingw-w64

Fixes: #652144.
gstudpnetutils.h:32:0: error: "WINVER" redefined
/usr/i686-w64-mingw32/sys-root/mingw/include/_mingw.h:231:0: note: this is the
location of the previous definition

13 years agointerleave: Work around changes in g_atomic API
David Schleef [Sat, 4 Jun 2011 20:49:52 +0000 (13:49 -0700)]
interleave: Work around changes in g_atomic API

See #651514 for details.

13 years agortp: Fix segmentation fault processing payload buffers
Jose Antonio Santos Cadenas [Wed, 18 May 2011 10:36:40 +0000 (12:36 +0200)]
rtp: Fix segmentation fault processing payload buffers

This commit checks if the value returned by
gst_rtp_buffer_get_payload_buffer and
gst_rtp_buffer_get_payload_subbuffer is NULL before using it.

13 years agopulse: Define PATH_MAX if it isn't defined
Pino Toscano [Mon, 16 May 2011 07:04:31 +0000 (09:04 +0200)]
pulse: Define PATH_MAX if it isn't defined

GNU Hurd for example doesn't define it.

13 years agowavenc: Allow setcaps to be called after a format was negotiated if it's compatible
Sebastian Dröge [Fri, 29 Apr 2011 06:55:19 +0000 (08:55 +0200)]
wavenc: Allow setcaps to be called after a format was negotiated if it's compatible

Otherwise wavenc will fail if upstream decides to set equivalent caps or caps
with additional information later.

Thanks to Alexander Schremmer for finding this bug.

13 years agoRelease 0.10.29
Tim-Philipp Müller [Tue, 10 May 2011 09:04:28 +0000 (10:04 +0100)]
Release 0.10.29

Highlights:

  - amrparse, aacparse, ac3parse, flacparse, mpegaudioparse, dcaparse audio parsers (moved from -bad)
  - muxers now mux based on running time
  - ISO MP4 muxers: mp4mux/3gppmux/qtmux/mj2mux (moved from -bad)
  - new matroskaparse element
  - new v4l2radio element
  - rtpsession: support RTCP Early Feedback (the AVPF profile)
  - orc 0.4.14 or newer recommended
  - many other fixes and improvements

13 years agoqtmux: Fix signed floating point values writing
Edward Hervey [Thu, 5 May 2011 11:24:23 +0000 (13:24 +0200)]
qtmux: Fix signed floating point values writing

You would end up on some architectures with 0 being written out
instead of the proper value.

https://bugzilla.gnome.org/show_bug.cgi?id=649449

13 years agomatroskamux: avoid building index when streamable
Mark Nauwelaerts [Wed, 4 May 2011 10:04:15 +0000 (12:04 +0200)]
matroskamux: avoid building index when streamable

... as it will not be written anyway.

Fixes #648937 (?).

13 years agobuild: add old qtdemux/quicktime directories to CRUFT_DIRS and CRUFT_FILES
Tim-Philipp Müller [Mon, 2 May 2011 11:09:02 +0000 (12:09 +0100)]
build: add old qtdemux/quicktime directories to CRUFT_DIRS and CRUFT_FILES

13 years agoflvmux: don't overwrite metadata tag with duration in streaming mode
Tom Janiszewski [Sun, 1 May 2011 04:04:03 +0000 (00:04 -0400)]
flvmux: don't overwrite metadata tag with duration in streaming mode

A duration tag gets inserted only for streamable=false, so only
update/write the duration later if we actually inserted that tag,
otherwise we write garbage into other tags.

https://bugzilla.gnome.org/show_bug.cgi?id=649060

13 years ago0.10.28.4 pre-release
Tim-Philipp Müller [Sat, 30 Apr 2011 17:16:36 +0000 (18:16 +0100)]
0.10.28.4 pre-release

13 years agoquicktime: rename plugin to isomp4
Tim-Philipp Müller [Sat, 30 Apr 2011 16:46:36 +0000 (17:46 +0100)]
quicktime: rename plugin to isomp4

https://bugzilla.gnome.org/show_bug.cgi?id=648004

13 years ago0.10.28.3 pre-release
Tim-Philipp Müller [Wed, 27 Apr 2011 11:45:51 +0000 (12:45 +0100)]
0.10.28.3 pre-release

13 years agortpgstpay: fix buffer leak
Wim Taymans [Tue, 26 Apr 2011 13:58:12 +0000 (15:58 +0200)]
rtpgstpay: fix buffer leak

13 years agojpegdec: documentation typo "jpegddec"
Philip Jägenstedt [Mon, 25 Apr 2011 08:04:52 +0000 (10:04 +0200)]
jpegdec: documentation typo "jpegddec"

https://bugzilla.gnome.org/show_bug.cgi?id=648589

13 years agoavimux,matroskamux: Add stream-format to h264 caps
David Schleef [Sun, 24 Apr 2011 23:45:07 +0000 (16:45 -0700)]
avimux,matroskamux: Add stream-format to h264 caps

Fixes #606662.

13 years agopngdec: Remove temporary code
David Schleef [Sun, 20 Feb 2011 20:13:49 +0000 (12:13 -0800)]
pngdec: Remove temporary code

Now that we depend on (what will be) -base-0.10.33.

13 years agoconfigure: don't pass -Waddress to ObjC compiler on OSX when compiling osxvideosink
Tim-Philipp Müller [Sun, 24 Apr 2011 13:03:56 +0000 (14:03 +0100)]
configure: don't pass -Waddress to ObjC compiler on OSX when compiling osxvideosink

Temporary workaround until we fix this properly and check for
the ObjC warning/error flags instead of just passing CFLAGS to the
ObjC compiler.

https://bugzilla.gnome.org/show_bug.cgi?id=643939

13 years agoquicktime: rename plugin filename from *qtdemux* to *quicktime*
Tim-Philipp Müller [Sun, 24 Apr 2011 12:29:32 +0000 (13:29 +0100)]
quicktime: rename plugin filename from *qtdemux* to *quicktime*

https://bugzilla.gnome.org/show_bug.cgi?id=648004

13 years agoAutomatic update of common submodule
Tim-Philipp Müller [Sun, 24 Apr 2011 13:03:41 +0000 (14:03 +0100)]
Automatic update of common submodule

From c3cafe1 to 46dfcea

13 years agodocs: add various qtmux variants to documentation
Tim-Philipp Müller [Thu, 21 Apr 2011 22:30:26 +0000 (23:30 +0100)]
docs: add various qtmux variants to documentation

13 years agoquicktime: register 3gppmux element in addition to the misnamed gppmux
Tim-Philipp Müller [Thu, 21 Apr 2011 21:51:52 +0000 (22:51 +0100)]
quicktime: register 3gppmux element in addition to the misnamed gppmux

13 years agortpsession: Remove incomplete support for RTCP FIR
Olivier Crête [Mon, 18 Apr 2011 22:08:30 +0000 (18:08 -0400)]
rtpsession: Remove incomplete support for RTCP FIR

Remove bits that were meant to suppport RTCP FIR

https://bugzilla.gnome.org/show_bug.cgi?id=648160

13 years agotests: add generic set_index test
Tim-Philipp Müller [Tue, 19 Apr 2011 13:33:25 +0000 (14:33 +0100)]
tests: add generic set_index test

13 years agoflvdemux: fix deadlock on setting index on flvdemux
Tim-Philipp Müller [Tue, 19 Apr 2011 13:33:42 +0000 (14:33 +0100)]
flvdemux: fix deadlock on setting index on flvdemux

13 years agotests: add index-setting test for baseparse/flacparse
Tim-Philipp Müller [Tue, 19 Apr 2011 13:16:11 +0000 (14:16 +0100)]
tests: add index-setting test for baseparse/flacparse

https://bugzilla.gnome.org/show_bug.cgi?id=646811

13 years agowavpack: Remove bus GSource to prevent a valgrind warning
Sebastian Dröge [Mon, 18 Apr 2011 09:29:15 +0000 (11:29 +0200)]
wavpack: Remove bus GSource to prevent a valgrind warning

13 years agowavenc: Remove bus GSource to prevent a valgrind warning
Sebastian Dröge [Mon, 18 Apr 2011 09:14:32 +0000 (11:14 +0200)]
wavenc: Remove bus GSource to prevent a valgrind warning

13 years agotagschecking: Remove bus GSource to prevent a valgrind warning
Sebastian Dröge [Mon, 18 Apr 2011 09:11:53 +0000 (11:11 +0200)]
tagschecking: Remove bus GSource to prevent a valgrind warning

13 years agoimagefreeze: Remove bus GSource to prevent a valgrind warning
Sebastian Dröge [Mon, 18 Apr 2011 09:10:01 +0000 (11:10 +0200)]
imagefreeze: Remove bus GSource to prevent a valgrind warning

13 years agoavidemux: fix 'variable may be used uninitialized' warnings caused by -DG_DISABLE_ASSERT
Tim-Philipp Müller [Sun, 17 Apr 2011 00:29:01 +0000 (01:29 +0100)]
avidemux: fix 'variable may be used uninitialized' warnings caused by -DG_DISABLE_ASSERT

13 years ago0.10.28.2 pre-release
Tim-Philipp Müller [Sat, 16 Apr 2011 17:50:11 +0000 (18:50 +0100)]
0.10.28.2 pre-release

13 years agogst: update disted orc backup code
Tim-Philipp Müller [Sat, 16 Apr 2011 17:49:27 +0000 (18:49 +0100)]
gst: update disted orc backup code

13 years agodocs: update for pre-release
Tim-Philipp Müller [Sat, 16 Apr 2011 17:29:45 +0000 (18:29 +0100)]
docs: update for pre-release

13 years agopo: update translations
Tim-Philipp Müller [Sat, 16 Apr 2011 17:27:54 +0000 (18:27 +0100)]
po: update translations

13 years agoqtmux: refuse incomplete legacy h264 caps
Tim-Philipp Müller [Sat, 16 Apr 2011 17:17:01 +0000 (18:17 +0100)]
qtmux: refuse incomplete legacy h264 caps

Refuse h264 caps without stream-format and codec_data fields for
now, to avoid creating broken files. This might cause some pipelines
that worked previously to fail. However, the move from -bad to -good
is our only chance to fix this up, so make it strict for now. We can
always change it back to be less strict in future.

https://bugzilla.gnome.org/show_bug.cgi?id=647919

13 years agov4l2sink: fix another unused-but-set-variable warning
Tim-Philipp Müller [Sat, 16 Apr 2011 17:16:11 +0000 (18:16 +0100)]
v4l2sink: fix another unused-but-set-variable warning

13 years agopulse, speexenc, rtpgsmpay: don't use g_assert() for error handling
Tim-Philipp Müller [Sat, 16 Apr 2011 17:10:24 +0000 (18:10 +0100)]
pulse, speexenc, rtpgsmpay: don't use g_assert() for error handling

Don't use g_assert() for error handling, even if they're highly unlikely.
Either we *know* that something can't happen, in which case we
should just not handle it, or we think something can happen, but it is
very very unlikely that it will ever happen, in which case we should
handle it like any other error instead of asserting.

g_assert() is best left for conditions we have control of, like checking
internal consistency of our code, not checking return values of external
code.

Fixes a bunch of warnings when compiling with -DG_DISABLE_ASSERT:
gstrtpgsmpay.c: In function 'gst_rtp_gsm_pay_handle_buffer':
gstrtpgsmpay.c:130:17: warning: variable 'rtpgsmpay' set but not used
gstspeexenc.c: In function 'gst_speex_enc_encode':
gstspeexenc.c:904:19: warning: variable 'written' set but not used
pulsesink.c: In function 'gst_pulsesink_change_state':
pulsesink.c:2725:9: warning: variable 'res' set but not used
pulsesrc.c: In function 'gst_pulsesrc_change_state':
pulsesrc.c:1253:7: warning: variable 'e' set but not used

13 years agoexamples: fix some warnings in rtp example
Tim-Philipp Müller [Sat, 16 Apr 2011 17:07:35 +0000 (18:07 +0100)]
examples: fix some warnings in rtp example

Caused by -DG_DISABLE_ASSERT

13 years agoexamples: don't put code with side-effects into g_assert()
Tim-Philipp Müller [Sat, 16 Apr 2011 16:57:32 +0000 (17:57 +0100)]
examples: don't put code with side-effects into g_assert()

Otherwise things won't work too well when compiling with
-DG_DISABLE_ASSERT (as we do for pre-releases and releases).

13 years agodeinterlace, matroska: fix two variable-may-be-used-uninitialized compiler warnings
Tim-Philipp Müller [Sat, 16 Apr 2011 15:51:32 +0000 (16:51 +0100)]
deinterlace, matroska: fix two variable-may-be-used-uninitialized compiler warnings

We use -DG_DISABLE_ASSERT for the pre-releases, which makes these
warnings pop up in cases that were previously covered by g_assert_not_reached()
and the like:
tvtime/greedyh.c:801:14: warning: 'scanline' may be used uninitialized in this function
matroska-mux.c:501:19: warning: 'context' may be used uninitialized in this function

13 years agojack: fix unused-but-set-variable warnings with gcc-4.6
Tim-Philipp Müller [Sat, 16 Apr 2011 12:33:45 +0000 (13:33 +0100)]
jack: fix unused-but-set-variable warnings with gcc-4.6

13 years agoexamples: fix 'control reaches end of non-void function' warning in cairo example
Tim-Philipp Müller [Sat, 16 Apr 2011 12:23:50 +0000 (13:23 +0100)]
examples: fix 'control reaches end of non-void function' warning in cairo example

13 years agov4l2src: Address unused but set variable
Robert Swain [Fri, 15 Apr 2011 13:47:24 +0000 (15:47 +0200)]
v4l2src: Address unused but set variable

The v4l2object formats list was being obtained into a local variable and
then still used from the context. Make use of the local variable.

13 years agooss4: Address unused but set variables
Robert Swain [Fri, 15 Apr 2011 13:17:34 +0000 (15:17 +0200)]
oss4: Address unused but set variables

GCC 4.6.x complains about such variable usage. Unused but set variables
were removed except that gst_oss4_mixer_slider_set_mute () now returns
the value from the call to gst_oss4_mixer_set_control_val ().

13 years agojpegenc: pulsesink: raw1394: Address unused but set variables
Robert Swain [Fri, 15 Apr 2011 13:14:13 +0000 (15:14 +0200)]
jpegenc: pulsesink: raw1394: Address unused but set variables

GCC 4.6.x spits warnings about such usage of variables. The variables in
raw1394 were marked with G_GNUC_UNUSED as this seemed omre appropriate.
The others were removed.

13 years agoy4mencode: shapewipe: Address unused but set variables
Robert Swain [Fri, 15 Apr 2011 13:12:44 +0000 (15:12 +0200)]
y4mencode: shapewipe: Address unused but set variables

GCC 4.6.x complains about such usage.

13 years agotests: Address unused but set variables
Robert Swain [Fri, 15 Apr 2011 13:11:35 +0000 (15:11 +0200)]
tests: Address unused but set variables

GCC 4.6.x spits warnings about such usage of variables.

13 years agovideomixer: Fix argb/rgba overlay orc code
Robert Swain [Fri, 15 Apr 2011 13:36:41 +0000 (15:36 +0200)]
videomixer: Fix argb/rgba overlay orc code

Remove some redundant operations (convubw) and use the correct variable,
t2, in the orc_overlay_bgra function.

13 years agovideomixer: address unused but set variables
Robert Swain [Fri, 15 Apr 2011 13:33:35 +0000 (15:33 +0200)]
videomixer: address unused but set variables

GCC 4.6.x spits warnings about variables that are set but unused. Such
variables have been removed in blend, collectpads2 and videomixer2.

13 years agortp, rtpmanager: Address unused but set variables
Robert Swain [Fri, 15 Apr 2011 12:57:20 +0000 (14:57 +0200)]
rtp, rtpmanager: Address unused but set variables

GCC 4.6.x spits warnings about variables that are unused but set. Such
variables have been removed where trivial but with comments left behind
for informational purposes in some cases.

gst_rtp_session_chain_recv_rtcp () was changed in commit 490113d4
to always return GST_FLOW_OK instead of the return value of
rtp_session_process_rtcp (), so we'll keep it that way.

13 years agoquicktime: Remove unused but set variables
Robert Swain [Fri, 15 Apr 2011 09:29:30 +0000 (11:29 +0200)]
quicktime: Remove unused but set variables

GCC 4.6.x spits warnings about such variable usage. Note that some
calculations are left as comments for informative purposes.

13 years agomatroska: Remove unused but set variables
Robert Swain [Fri, 15 Apr 2011 09:23:38 +0000 (11:23 +0200)]
matroska: Remove unused but set variables

GCC 4.6.x spits warnings about such variable usage.

13 years agoimagefreeze: Remove unused but set duration variable
Robert Swain [Fri, 15 Apr 2011 09:19:26 +0000 (11:19 +0200)]
imagefreeze: Remove unused but set duration variable

GCC 4.6.x spits warnings about such variable usage.

13 years agoflxdemux: Remove unused but set keyframe variables
Robert Swain [Fri, 15 Apr 2011 09:18:19 +0000 (11:18 +0200)]
flxdemux: Remove unused but set keyframe variables

The FIXMEs about the keyframe flag never being used are left for later
fixing, at which point the keyframe variables could be added back.

13 years agoedgetv: Remove unused but set height variable
Robert Swain [Fri, 15 Apr 2011 09:16:42 +0000 (11:16 +0200)]
edgetv: Remove unused but set height variable

GCC 4.6.x spits warnings about such variables.

13 years agoflacparse: update for gst_base_parse_frame_init() API change
Tim-Philipp Müller [Fri, 15 Apr 2011 17:51:20 +0000 (18:51 +0100)]
flacparse: update for gst_base_parse_frame_init() API change

13 years agortpsession: Use existing functions to parse RTCP FB packets
Olivier Crête [Tue, 1 Feb 2011 20:57:01 +0000 (15:57 -0500)]
rtpsession: Use existing functions to parse RTCP FB packets

Use existing functions to get the FCI from FB packets.

https://bugzilla.gnome.org/show_bug.cgi?id=622553

13 years agortpsession: marshal GstBuffer as a MiniObject instead of a pointer
Olivier Crête [Tue, 1 Feb 2011 21:23:52 +0000 (16:23 -0500)]
rtpsession: marshal GstBuffer as a MiniObject instead of a pointer

https://bugzilla.gnome.org/show_bug.cgi?id=622553

13 years agomatroskademux: Better calculation of framerate
David Schleef [Fri, 15 Apr 2011 06:24:56 +0000 (23:24 -0700)]
matroskademux: Better calculation of framerate

https://bugzilla.gnome.org/show_bug.cgi?id=647833

13 years agoqtmux: default to dts-method=reorder and presentation-time=true
Tim-Philipp Müller [Wed, 13 Apr 2011 11:37:09 +0000 (12:37 +0100)]
qtmux: default to dts-method=reorder and presentation-time=true

https://bugzilla.gnome.org/show_bug.cgi?id=636699

13 years agotests: qtmux: test various dts-methods
Mark Nauwelaerts [Fri, 15 Apr 2011 10:47:52 +0000 (12:47 +0200)]
tests: qtmux: test various dts-methods

13 years agoqtmux: fix corner case buffer handling for reorder method
Mark Nauwelaerts [Fri, 15 Apr 2011 10:34:05 +0000 (12:34 +0200)]
qtmux: fix corner case buffer handling for reorder method

13 years agoflvdemux: Don't leak the SEEKING query
Sebastian Dröge [Thu, 14 Apr 2011 11:47:05 +0000 (13:47 +0200)]
flvdemux: Don't leak the SEEKING query

13 years agoqtmoovrecover: Don't leak the static recursive mutex
Sebastian Dröge [Thu, 14 Apr 2011 11:43:06 +0000 (13:43 +0200)]
qtmoovrecover: Don't leak the static recursive mutex

13 years agov4l2radio: Free videodev string before replacing it
Sebastian Dröge [Thu, 14 Apr 2011 11:37:52 +0000 (13:37 +0200)]
v4l2radio: Free videodev string before replacing it

13 years agomatroskaparse: Allow webm and matroska caps and don't leak caps
Sebastian Dröge [Thu, 14 Apr 2011 11:24:21 +0000 (13:24 +0200)]
matroskaparse: Allow webm and matroska caps and don't leak caps

13 years agoAdd parser plugin
Christian Fredrik Kalager Schaller [Thu, 14 Apr 2011 06:35:29 +0000 (07:35 +0100)]
Add parser plugin

13 years agodirectsoundsink: Add conditionals on WAVE_FORMAT_DOLBY_AC3_SPDIF
David Schleef [Thu, 24 Mar 2011 21:34:24 +0000 (14:34 -0700)]
directsoundsink: Add conditionals on WAVE_FORMAT_DOLBY_AC3_SPDIF

13 years agocapsdebug: fix unused-but-set-variable warnings with gcc 4.6
Tim-Philipp Müller [Mon, 11 Apr 2011 19:09:14 +0000 (20:09 +0100)]
capsdebug: fix unused-but-set-variable warnings with gcc 4.6

13 years agoavidemux: fix unused-but-set-variable warning with gcc 4.6
Tim-Philipp Müller [Mon, 11 Apr 2011 19:05:54 +0000 (20:05 +0100)]
avidemux: fix unused-but-set-variable warning with gcc 4.6

Most likely a leftover from when the index parsing code was rewritten.

13 years agoac3parse: fix unused-but-set-variable warning with gcc 4.6
Tim-Philipp Müller [Mon, 11 Apr 2011 18:54:00 +0000 (19:54 +0100)]
ac3parse: fix unused-but-set-variable warning with gcc 4.6

13 years agovideobalance: fix handling of YUV images with 'odd' widths
Tim-Philipp Müller [Mon, 11 Apr 2011 18:50:07 +0000 (19:50 +0100)]
videobalance: fix handling of YUV images with 'odd' widths

Fixes unused-but-set-variable warnings with gcc 4.6.

13 years agovideoflip: fix unused-but-set-variable warnings with gcc 4.6
Tim-Philipp Müller [Mon, 11 Apr 2011 18:49:22 +0000 (19:49 +0100)]
videoflip: fix unused-but-set-variable warnings with gcc 4.6

13 years agoaudiowsinc{band,limit}: Fix check for divison by zero
Sebastian Dröge [Wed, 13 Apr 2011 16:11:34 +0000 (18:11 +0200)]
audiowsinc{band,limit}: Fix check for divison by zero

13 years agoaudiowsincband: Fix range of kernel elements (lim -> lim-1)
Sebastian Dröge [Wed, 13 Apr 2011 16:01:01 +0000 (18:01 +0200)]
audiowsincband: Fix range of kernel elements (lim -> lim-1)

13 years agoaudiowsinclimit: Add some more braces to make the code more readable
Sebastian Dröge [Wed, 13 Apr 2011 16:00:44 +0000 (18:00 +0200)]
audiowsinclimit: Add some more braces to make the code more readable

13 years agoaudiowsinclimit: Fix range of kernel elements (lim -> lim-1) in high/low-pass filters
Jordi Burguet-Castell [Mon, 11 Apr 2011 23:40:30 +0000 (18:40 -0500)]
audiowsinclimit: Fix range of kernel elements (lim -> lim-1) in high/low-pass filters

13 years agoaudiowsincband: Add new windowing functions: gaussian, cos and hann
Sebastian Dröge [Wed, 13 Apr 2011 15:49:22 +0000 (17:49 +0200)]
audiowsincband: Add new windowing functions: gaussian, cos and hann

13 years agoaudiowsinclimimt: Add new windows to high/low-pass filters: gaussian, cosine, hann
Jordi Burguet-Castell [Mon, 11 Apr 2011 23:41:43 +0000 (18:41 -0500)]
audiowsinclimimt: Add new windows to high/low-pass filters: gaussian, cosine, hann

13 years agomatroskademux: set stream-format=byte-stream on h264 caps if there's no codec data
Tim-Philipp Müller [Wed, 13 Apr 2011 15:47:05 +0000 (16:47 +0100)]
matroskademux: set stream-format=byte-stream on h264 caps if there's no codec data

https://bugzilla.gnome.org/show_bug.cgi?id=606662

13 years agoqtmux: restrict h264 some more to only accept AU-aligned AVC
Thiago Santos [Wed, 13 Apr 2011 15:37:07 +0000 (16:37 +0100)]
qtmux: restrict h264 some more to only accept AU-aligned AVC

https://bugzilla.gnome.org/show_bug.cgi?id=606662

13 years agompegaudioparse: The VBRI header is always at offset 0x20, independent of MPEG version
Sebastian Dröge [Wed, 13 Apr 2011 15:11:26 +0000 (17:11 +0200)]
mpegaudioparse: The VBRI header is always at offset 0x20, independent of MPEG version

Also clean up advancing of the data pointer a bit.

Fixes bug #647659.

13 years agoqtmux: add variant-less video/quicktime to source pad template caps
Tim-Philipp Müller [Wed, 13 Apr 2011 14:18:11 +0000 (15:18 +0100)]
qtmux: add variant-less video/quicktime to source pad template caps

This is needed for automatic transcoding using encodebin. Our typefinder
does not always add a variant to the found caps, and encodebin needs
an *exact* match to the caps on the source pad template, so we need
to add the variant-less video/quicktime caps to the template as well
for encodebin to be able to find it. Add unit test for this as well.

https://bugzilla.gnome.org/show_bug.cgi?id=642879

13 years agoflacenc: Properly interprete the result of strcmp()
Sebastian Dröge [Wed, 13 Apr 2011 14:17:41 +0000 (16:17 +0200)]
flacenc: Properly interprete the result of strcmp()

13 years agoflacenc: Don't store image tags inside the vorbiscomments and the flac metadata
Sebastian Dröge [Wed, 13 Apr 2011 14:09:04 +0000 (16:09 +0200)]
flacenc: Don't store image tags inside the vorbiscomments and the flac metadata

Instead only store them inside the flac metadata. There's
no point in storing them twice and the flac metadata is
still the official way to store image tags inside flac.

13 years agotests: ignore new qtmux-related test binaries
Tim-Philipp Müller [Wed, 13 Apr 2011 11:38:15 +0000 (12:38 +0100)]
tests: ignore new qtmux-related test binaries

13 years agoquicktime: move qtmux plugin from -bad to -good
Tim-Philipp Müller [Wed, 13 Apr 2011 10:25:11 +0000 (11:25 +0100)]
quicktime: move qtmux plugin from -bad to -good

https://bugzilla.gnome.org/show_bug.cgi?id=636699

13 years agoqtmux: more helpful debug error message when no needed duration on input buffers
Mark Nauwelaerts [Mon, 4 Apr 2011 10:21:23 +0000 (12:21 +0200)]
qtmux: more helpful debug error message when no needed duration on input buffers

Fixes #646256.

13 years agoqtmux: Adding GstTagXmpWriter interface
Thiago Santos [Mon, 21 Mar 2011 13:56:51 +0000 (10:56 -0300)]
qtmux: Adding GstTagXmpWriter interface

Adds GstTagXmpWriter interface support to qtmux

13 years agoqtmux: use running time for synchronization
Mark Nauwelaerts [Tue, 22 Mar 2011 19:53:08 +0000 (20:53 +0100)]
qtmux: use running time for synchronization

See also #432612.

13 years agoqtmux: provide for PTS metadata when so configured
Mark Nauwelaerts [Thu, 10 Mar 2011 15:03:58 +0000 (16:03 +0100)]
qtmux: provide for PTS metadata when so configured

... and not only when sort-of feeling like it.
In any case, if it turns out all really is in order,
and presumably DTS == PTS, then no ctts will be produced anyway.

13 years agoqtmux: also track original PTS buffer timestamp in reorder dts-method
Mark Nauwelaerts [Thu, 10 Mar 2011 15:02:42 +0000 (16:02 +0100)]
qtmux: also track original PTS buffer timestamp in reorder dts-method

13 years agoRevert "Check that collectpads exists before removing pad"
Edward Hervey [Mon, 21 Feb 2011 11:14:59 +0000 (12:14 +0100)]
Revert "Check that collectpads exists before removing pad"

This reverts commit 6d8740476ccd3a3498dc4f18c19733643825c7b8.

Depends on a core commit that was reverted

13 years agoCheck that collectpads exists before removing pad
David Schleef [Mon, 21 Feb 2011 07:57:19 +0000 (23:57 -0800)]
Check that collectpads exists before removing pad

The core now calls release pad from finalize, at which point
the collectpads might have already been freed.

13 years agotest: qtmux: Tests qtmux reuse
Thiago Santos [Thu, 13 Jan 2011 14:28:32 +0000 (11:28 -0300)]
test: qtmux: Tests qtmux reuse

Forces the use of qtmux after it has been put to PLAYING and back
to NULL once

https://bugzilla.gnome.org/show_bug.cgi?id=639338

13 years agoqtmux: set src pads when starting file
Mark Nauwelaerts [Thu, 13 Jan 2011 14:27:36 +0000 (15:27 +0100)]
qtmux: set src pads when starting file

... rather than at _init time, so they are also available following a
pad (de)activation cycle.

https://bugzilla.gnome.org/show_bug.cgi?id=639338

13 years agoqtmux: adjust nasty case timestamp tracking
Mark Nauwelaerts [Mon, 3 Jan 2011 16:24:23 +0000 (17:24 +0100)]
qtmux: adjust nasty case timestamp tracking

That is, all sorts of problems arise with re-ordered input timestamps that
tend to defy automagic handling for every case, so allow for a few variations
that can be tried depending on circumstances.

Also try to document accordingly.

Also fixes #638288.

13 years agoqtmux: get rid of timestamp overprotectiveness
Felipe Contreras [Thu, 30 Dec 2010 19:48:41 +0000 (21:48 +0200)]
qtmux: get rid of timestamp overprotectiveness

Signed-off-by: Felipe Contreras <felipe.contreras@nokia.com>
13 years agoqtmux: simplify and fix pts_offset storing
Mark Nauwelaerts [Mon, 3 Jan 2011 15:56:57 +0000 (16:56 +0100)]
qtmux: simplify and fix pts_offset storing

In particular, only write a ctts atom if and only if ever a non-zero offset.