Wim Taymans [Mon, 18 Apr 2011 08:54:43 +0000 (10:54 +0200)]
port more plugins to 0.11
Wim Taymans [Mon, 18 Apr 2011 08:23:45 +0000 (10:23 +0200)]
Merge branch 'master' into 0.11
Conflicts:
android/apetag.mk
android/avi.mk
android/flv.mk
android/icydemux.mk
android/id3demux.mk
android/qtdemux.mk
android/rtp.mk
android/rtpmanager.mk
android/rtsp.mk
android/soup.mk
android/udp.mk
android/wavenc.mk
android/wavparse.mk
configure.ac
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
Tim-Philipp Müller [Sat, 16 Apr 2011 17:50:11 +0000 (18:50 +0100)]
0.10.28.2 pre-release
Tim-Philipp Müller [Sat, 16 Apr 2011 17:49:27 +0000 (18:49 +0100)]
gst: update disted orc backup code
Tim-Philipp Müller [Sat, 16 Apr 2011 17:29:45 +0000 (18:29 +0100)]
docs: update for pre-release
Tim-Philipp Müller [Sat, 16 Apr 2011 17:27:54 +0000 (18:27 +0100)]
po: update translations
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
Tim-Philipp Müller [Sat, 16 Apr 2011 17:16:11 +0000 (18:16 +0100)]
v4l2sink: fix another unused-but-set-variable warning
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
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
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).
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
Sebastian Dröge [Sat, 16 Apr 2011 12:45:25 +0000 (14:45 +0200)]
apedemux: Port to 0.11
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
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
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.
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 ().
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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
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
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
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
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
Mark Nauwelaerts [Fri, 15 Apr 2011 10:47:52 +0000 (12:47 +0200)]
tests: qtmux: test various dts-methods
Mark Nauwelaerts [Fri, 15 Apr 2011 10:34:05 +0000 (12:34 +0200)]
qtmux: fix corner case buffer handling for reorder method
Sebastian Dröge [Thu, 14 Apr 2011 11:47:05 +0000 (13:47 +0200)]
flvdemux: Don't leak the SEEKING query
Sebastian Dröge [Thu, 14 Apr 2011 11:43:06 +0000 (13:43 +0200)]
qtmoovrecover: Don't leak the static recursive mutex
Sebastian Dröge [Thu, 14 Apr 2011 11:37:52 +0000 (13:37 +0200)]
v4l2radio: Free videodev string before replacing it
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
Christian Fredrik Kalager Schaller [Thu, 14 Apr 2011 06:35:29 +0000 (07:35 +0100)]
Add parser plugin
David Schleef [Thu, 24 Mar 2011 21:34:24 +0000 (14:34 -0700)]
directsoundsink: Add conditionals on WAVE_FORMAT_DOLBY_AC3_SPDIF
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
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.
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
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.
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
Sebastian Dröge [Wed, 13 Apr 2011 16:11:34 +0000 (18:11 +0200)]
audiowsinc{band,limit}: Fix check for divison by zero
Sebastian Dröge [Wed, 13 Apr 2011 16:01:01 +0000 (18:01 +0200)]
audiowsincband: Fix range of kernel elements (lim -> lim-1)
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
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
Sebastian Dröge [Wed, 13 Apr 2011 15:49:22 +0000 (17:49 +0200)]
audiowsincband: Add new windowing functions: gaussian, cos and 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
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
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
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.
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
Sebastian Dröge [Wed, 13 Apr 2011 14:17:41 +0000 (16:17 +0200)]
flacenc: Properly interprete the result of strcmp()
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.
Tim-Philipp Müller [Wed, 13 Apr 2011 11:38:15 +0000 (12:38 +0100)]
tests: ignore new qtmux-related test binaries
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
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.
Thiago Santos [Mon, 21 Mar 2011 13:56:51 +0000 (10:56 -0300)]
qtmux: Adding GstTagXmpWriter interface
Adds GstTagXmpWriter interface support to qtmux
Mark Nauwelaerts [Tue, 22 Mar 2011 19:53:08 +0000 (20:53 +0100)]
qtmux: use running time for synchronization
See also #432612.
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.
Mark Nauwelaerts [Thu, 10 Mar 2011 15:02:42 +0000 (16:02 +0100)]
qtmux: also track original PTS buffer timestamp in reorder dts-method
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
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.
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
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
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.
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>
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.
Mark Nauwelaerts [Mon, 3 Jan 2011 09:43:15 +0000 (10:43 +0100)]
qtmux: add some more documentation
Mark Nauwelaerts [Fri, 3 Dec 2010 14:23:00 +0000 (15:23 +0100)]
qtmux: remove large-file property
Rather, auto-determine if 64-bits fields are needed for a valid result, and
stick to plain 32-bits if not needed.
API: GstQTMux:large-file (removed)
Sebastian Dröge [Sun, 19 Dec 2010 11:53:34 +0000 (12:53 +0100)]
qtmux: Free AtomInfo structs
Sebastian Dröge [Sun, 19 Dec 2010 11:50:30 +0000 (12:50 +0100)]
qtmux: Free tag string after use
Sebastian Dröge [Sun, 19 Dec 2010 11:12:25 +0000 (12:12 +0100)]
tagschecking: Fix some more memory leaks
Lasse Laukkanen [Fri, 17 Dec 2010 17:41:25 +0000 (19:41 +0200)]
qtmux: allow zero duration tracks
Mark Nauwelaerts [Fri, 3 Dec 2010 17:09:41 +0000 (18:09 +0100)]
qtmux: add documentation
David Hoyt [Wed, 1 Dec 2010 09:45:49 +0000 (10:45 +0100)]
qtmux: handle msvc ftruncate incompatibility
Fixes #636185.
Alejandro Gonzalez [Sat, 27 Nov 2010 22:07:19 +0000 (16:07 -0600)]
qtmux: gst_qtmux_check_difference verify before subtract
Avoid negative overflow by checking the order of operands
on subtraction of unsigned integers.
https://bugzilla.gnome.org/show_bug.cgi?id=635878
Mark Nauwelaerts [Fri, 19 Nov 2010 16:55:36 +0000 (17:55 +0100)]
qtmux: remove remnant of obsolete property
Mark Nauwelaerts [Fri, 19 Nov 2010 14:18:58 +0000 (15:18 +0100)]
tests: qtmux: also unit test fragmented file cases
Marc-André Lureau [Fri, 30 Jul 2010 10:48:29 +0000 (12:48 +0200)]
qtmux: allow specifying trak timescale
This is mainly because Smoothstreaming client are broken and don't
take the TimeScale property into account.
Mark Nauwelaerts [Fri, 19 Nov 2010 16:41:41 +0000 (17:41 +0100)]
qtmux: include sdtp atoms for ismv fragmented files
Based on patch by Marc-André Lureau <mlureau@flumotion.com>
Mark Nauwelaerts [Fri, 19 Nov 2010 18:17:45 +0000 (19:17 +0100)]
qtmux: enable default fragmented file for ismlmux
Marc-André Lureau [Thu, 2 Sep 2010 11:58:05 +0000 (13:58 +0200)]
qtmux: add ismlmux, for fragmented isml major brand
Mark Nauwelaerts [Fri, 19 Nov 2010 13:44:45 +0000 (14:44 +0100)]
qtmux: finalize sinkpads list
Marc-André Lureau [Thu, 22 Jul 2010 17:40:07 +0000 (19:40 +0200)]
qtmux: add moov in streamheader
Marc-André Lureau [Fri, 6 Aug 2010 11:26:27 +0000 (13:26 +0200)]
qtmux: add streamable property to avoid building fragmented mfra index
Mark Nauwelaerts [Thu, 18 Nov 2010 15:48:06 +0000 (16:48 +0100)]
qtmux: add mfra to fragmented file
Based on patch by Marc-André Lureau <mlureau@flumotion.com>
Mark Nauwelaerts [Mon, 15 Nov 2010 14:17:59 +0000 (15:17 +0100)]
qtmux: optionally create fragmented file
In this mode, an initial empty moov (containing only stream metadata) is written,
followed by fragments containing actual data (along with required metadata).
New fragments are started either at keyframe (if such are sparse) or when
property configured duration exceeded.
Based on patch by Marc-André Lureau <mlureau@flumotion.com>
Fixes #632911.
Mark Nauwelaerts [Mon, 15 Nov 2010 14:12:45 +0000 (15:12 +0100)]
qtmux: use helper to set atom flags from given uint
Mark Nauwelaerts [Tue, 9 Nov 2010 15:49:07 +0000 (16:49 +0100)]
qtmux: refactor configuring and sending of moov
Based on patch by Marc-André Lureau <mlureau@flumotion.com>
Mark Nauwelaerts [Tue, 9 Nov 2010 14:54:44 +0000 (15:54 +0100)]
qtmux: refactor extra top-level atom handling
Also check a bit more for possible errors, and free proper items in such case.
Mark Nauwelaerts [Tue, 9 Nov 2010 14:01:15 +0000 (15:01 +0100)]
qtmux: refactor slightly using buffer helper
Mark Nauwelaerts [Fri, 5 Nov 2010 12:48:57 +0000 (13:48 +0100)]
qtmux: fix misinforming comment
Mark Nauwelaerts [Fri, 5 Nov 2010 11:08:15 +0000 (12:08 +0100)]
qtmux: delegate mvex handling to atoms
... which keeps qtmux simpler.
Marc-André Lureau [Mon, 28 Sep 2009 14:11:35 +0000 (16:11 +0200)]
qtmux: add mvex/trex in header if fragmented
One "trex" is added per "trak". We don't support default values,
but the "trex" box is mandatory.