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.
Marc-André Lureau [Mon, 28 Sep 2009 11:01:30 +0000 (13:01 +0200)]
qtmux: add a couple of fourcc for fragmented mp4
Mark Nauwelaerts [Fri, 5 Nov 2010 10:08:01 +0000 (11:08 +0100)]
qtmux: avoid removing temp file when error occurred
Marc-André Lureau [Wed, 30 Sep 2009 15:16:30 +0000 (17:16 +0200)]
qtmux: truncate buffer file after each send
Marc-André Lureau [Mon, 28 Sep 2009 14:53:51 +0000 (16:53 +0200)]
qtmux: remove temp file when reset/finalize
Stefan Kost [Tue, 19 Oct 2010 10:43:14 +0000 (13:43 +0300)]
various (gst): add missing G_PARAM_STATIC_STRINGS flags
Canonicalize property names as needed.
Mark Nauwelaerts [Wed, 13 Oct 2010 15:47:29 +0000 (17:47 +0200)]
qtmux: prevent infinite loop when adjusting framerate
Fixes #632070.
Thiago Santos [Mon, 4 Oct 2010 02:45:46 +0000 (23:45 -0300)]
qtmux: Add G_PARAM_STATIC_STRINGS
Add G_PARAM_STATIC_STRINGS to qtmux properties
Thiago Santos [Wed, 15 Sep 2010 20:54:49 +0000 (17:54 -0300)]
qtmux: Follow xmp serialization guidelines closer
qt and isom variants have different ways of serializing
xmp, follow these guidelines.
Those can be found in Adobe's xmp docs.
Mark Nauwelaerts [Mon, 16 Aug 2010 10:36:24 +0000 (12:36 +0200)]
qtmux: autodetect out-of-order input timestamps and determine DTS accordingly
Favour using input buffer timestamps for DTS, but fallback to using buffer
duration (accumulation) if input ts detected out-of-order.
Fixes #624212.
Marc-André Lureau [Wed, 28 Jul 2010 14:15:53 +0000 (16:15 +0200)]
qtmux: use caps bitrate at last chance
If we didn't get the stream's bitrate from one of the atoms,
try getting it from the caps as a last resort.
https://bugzilla.gnome.org/show_bug.cgi?id=625496
Marc-André Lureau [Wed, 28 Jul 2010 14:12:11 +0000 (16:12 +0200)]
qtmux: btrt - max bitrate before average
According to iso base media file format, the max bitrate
is before the avg
https://bugzilla.gnome.org/show_bug.cgi?id=625496
Arun Raghavan [Tue, 6 Jul 2010 09:18:08 +0000 (14:48 +0530)]
qtmux: Write 'btrt' atom for H.264 media if possible
This writes out the optional 'btrt' atom (MPEG4BitrateBox) for H.264
media if either or both of average and maximum bitrate are available for
the stream.
https://bugzilla.gnome.org/show_bug.cgi?id=623678
Arun Raghavan [Mon, 5 Jul 2010 08:39:50 +0000 (14:09 +0530)]
qtmux: Write avg/max bitrate to ESDS if available
This collects the 'bitrate' and 'maximum-bitrate' tags on the
corresponding pad and uses these to populate these fields in the ESDS
where applicable.
https://bugzilla.gnome.org/show_bug.cgi?id=623678
Edward Hervey [Fri, 2 Jul 2010 10:45:20 +0000 (12:45 +0200)]
qtmux: Don't use bogus codec/format tags
https://bugzilla.gnome.org/show_bug.cgi?id=623365
Thiago Santos [Fri, 25 Jun 2010 23:19:20 +0000 (20:19 -0300)]
qtmux: Write uint tags that don't have a complement
Write uint tags that have complements (e.g. track-number/
track-count) even when we only have one of them available
and set the other one to 0.
Fixes #622484
Edward Hervey [Mon, 21 Jun 2010 17:39:54 +0000 (19:39 +0200)]
qtmux: Remove the pad from our internal list before calling collectpads
Previously we would end up with the collectpaddata structure already freed.
This would result in a bogus iteration of mux->sinkpads (all the
GstQTPad being freed) and it wouldn't be removed from that list.
Finally, due to it not being removed from that list, we would end up
calling a bogus gst_qt_mux_pad_reset on those structures => SEGFAULT