Sebastian Dröge [Sat, 16 Apr 2011 07:12:31 +0000 (09:12 +0200)]
Merge branch 'master' into 0.11
Sebastian Dröge [Thu, 14 Apr 2011 11:15:08 +0000 (13:15 +0200)]
encodebin: Unref encoding profiles after usage in the test
Sebastian Dröge [Thu, 14 Apr 2011 10:55:00 +0000 (12:55 +0200)]
encodebin: Release pads after setting the state to NULL in the unit test
See bug #647756.
Sebastian Dröge [Thu, 14 Apr 2011 10:23:10 +0000 (12:23 +0200)]
encodebin: Set all elements to NULL and remove them from the bin when removing a source group
Sreerenj Balachandran [Wed, 13 Apr 2011 21:26:34 +0000 (00:26 +0300)]
video: Remove the extensive checkings from switch
The default case handles them already
Thiago Santos [Thu, 14 Apr 2011 02:17:34 +0000 (23:17 -0300)]
tests: tag: Fix typo
Thiago Santos [Thu, 14 Apr 2011 02:17:14 +0000 (23:17 -0300)]
tag: xmp: Adds mapping for GST_TAG_CAPTURING_EXPOSURE_COMPENSATION
Adds mapping for GST_TAG_CAPTURING_EXPOSURE_COMPENSATION for xmp
library.
Includes unit tests.
Thiago Santos [Thu, 14 Apr 2011 02:16:02 +0000 (23:16 -0300)]
tag: exif: Adds mapping for GST_TAG_CAPTURING_EXPOSURE_COMPENSATION
Adds mapping for GST_TAG_CAPTURING_EXPOSURE_COMPENSATION for exif
library.
Includes unit tests.
Thiago Santos [Thu, 14 Apr 2011 02:13:59 +0000 (23:13 -0300)]
tag: Adds GST_TAG_CAPTURING_EXPOSURE_COMPENSATION
Adds a new tag for indicating the used exposure compensation
level in EV used when capturing an image.
API: GST_TAG_CAPTURING_EXPOSURE_COMPENSATION
Tim-Philipp Müller [Wed, 13 Apr 2011 23:24:26 +0000 (00:24 +0100)]
tests: fix unused-but-set-variable warnings with gcc 4.6
https://bugzilla.gnome.org/show_bug.cgi?id=647294
Tim-Philipp Müller [Wed, 13 Apr 2011 22:57:56 +0000 (23:57 +0100)]
ogg: fix unused-but-set-variable warnings with gcc 4.6
https://bugzilla.gnome.org/show_bug.cgi?id=647294
Tim-Philipp Müller [Wed, 13 Apr 2011 22:19:07 +0000 (23:19 +0100)]
ffmpegcolorspace: fix unused-but-set-variable warnings with gcc 4.6
https://bugzilla.gnome.org/show_bug.cgi?id=647294
Tim-Philipp Müller [Wed, 13 Apr 2011 21:59:03 +0000 (22:59 +0100)]
typefindfunctions: fix unused-but-set-variable warning with gcc 4.6
We don't compare the bitrates of consecutive mp3 frames on purpose
here.
https://bugzilla.gnome.org/show_bug.cgi?id=647294
Tim-Philipp Müller [Wed, 13 Apr 2011 08:10:52 +0000 (09:10 +0100)]
docs: fix typo in video format docs
Tim-Philipp Müller [Tue, 12 Apr 2011 11:41:06 +0000 (12:41 +0100)]
oggmux: fix uninitialised variable usage and element leak
gcc on OSX complains about ret being used uninitialized in
this function, and it is right. Don't leak element ref
when returning early because newsegment event is not in
TIME format.
Tim-Philipp Müller [Tue, 12 Apr 2011 11:20:43 +0000 (12:20 +0100)]
multifdsink: do check return values of fcntl() and fstat()
https://bugzilla.gnome.org/show_bug.cgi?id=647294
Marc Plano-Lesay [Sat, 9 Apr 2011 17:15:23 +0000 (19:15 +0200)]
fix unused-but-set-variable warnings with gcc 4.6
https://bugzilla.gnome.org/show_bug.cgi?id=647294
Sreerenj Balachandran [Wed, 6 Apr 2011 19:57:41 +0000 (22:57 +0300)]
rtsptranport: ensure valid int result when parsing ranges
Specifically, make sure that the return value of strtol is falling in
between the range of G_MININT and G_MAXINT.
Fixes #646952.
Bastien Nocera [Wed, 6 Apr 2011 15:27:54 +0000 (16:27 +0100)]
encoding-profile: fix unused-but-set-variable warnings with gcc 4.6
Top-level profiles don't have restrictions, only stream profiles,
so no need to serialise that here.
https://bugzilla.gnome.org/show_bug.cgi?id=646925
Tim-Philipp Müller [Mon, 11 Apr 2011 13:29:35 +0000 (14:29 +0100)]
tests: dist all struct_*.h files for libs ABI test
Should fix distcheck on x86_64.
Mark Nauwelaerts [Mon, 11 Apr 2011 13:02:38 +0000 (15:02 +0200)]
videorate: empty caps have no structure to pick
Wim Taymans [Mon, 11 Apr 2011 09:37:51 +0000 (11:37 +0200)]
Merge branch 'master' into 0.11
Conflicts:
android/alsa.mk
android/app.mk
android/app_plugin.mk
android/audio.mk
android/audioconvert.mk
android/decodebin.mk
android/decodebin2.mk
android/gdp.mk
android/interfaces.mk
android/netbuffer.mk
android/pbutils.mk
android/playbin.mk
android/queue2.mk
android/riff.mk
android/rtp.mk
android/rtsp.mk
android/sdp.mk
android/tag.mk
android/tcp.mk
android/typefindfunctions.mk
android/video.mk
Tim-Philipp Müller [Mon, 11 Apr 2011 09:06:53 +0000 (10:06 +0100)]
tag: fix typo in ID3 genres
psychadelic -> psychedelic. Spotted by Sébastien Wilmet.
https://bugzilla.gnome.org/show_bug.cgi?id=647399
Alessandro Decina [Thu, 27 Jan 2011 16:28:51 +0000 (17:28 +0100)]
android: make it ready for androgenizer
Remove the android/ top dir
Fixe the Makefile.am to be androgenized
To build gstreamer for android we are now using androgenizer which generates the
needed Android.mk files.
Androgenizer can be found here:
http://git.collabora.co.uk/?p=user/derek/androgenizer.git
Christian Fredrik Kalager Schaller [Sat, 9 Apr 2011 01:01:08 +0000 (02:01 +0100)]
Add new header file to spec file
Sebastian Dröge [Fri, 8 Apr 2011 13:10:02 +0000 (15:10 +0200)]
rtp: Unref events if the parent element disappeared or has no event handler implemented
Ole André Vadla Ravnås [Thu, 6 Jan 2011 17:20:58 +0000 (18:20 +0100)]
rtp: fix pad callbacks so they handle when parent goes away
1) We need to lock and get a strong ref to the parent, if still there.
2) If it has gone away, we need to handle that gracefully.
This is necessary in order to safely modify a running pipeline. Has been
observed when a streaming thread is doing a buffer_alloc() while an
application thread sends an event on a pad further downstream, and from
within a pad probe (holding STREAM_LOCK) carries out the pipeline plumbing
while the streaming thread has its buffer_alloc() in progress.
Havard Graff [Sun, 20 Mar 2011 07:59:33 +0000 (08:59 +0100)]
audioresample: Make src query MT-safe
It is possible that the element might be going down while the event arrives
Sebastian Dröge [Fri, 8 Apr 2011 13:00:58 +0000 (15:00 +0200)]
vorbisdec: Unref events if the parent element disappeared
Havard Graff [Mon, 21 Mar 2011 15:03:16 +0000 (16:03 +0100)]
vorbisdec: make upstream queries and events MT-safe
Wim Taymans [Thu, 7 Apr 2011 14:19:08 +0000 (16:19 +0200)]
Merge branch 'master' into 0.11
Conflicts:
gst-libs/gst/rtp/gstbasertpdepayload.c
Wim Taymans [Thu, 7 Apr 2011 14:07:57 +0000 (16:07 +0200)]
ximage: don't share the memory
We can't share the memory on the buffer with other buffers because the metadata
X(v)Image points to it and we don't want it to go away.
Bastien Nocera [Wed, 6 Apr 2011 15:25:37 +0000 (16:25 +0100)]
rtp: Remove unused variables
https://bugzilla.gnome.org/show_bug.cgi?id=646924
Sebastian Dröge [Thu, 7 Apr 2011 08:06:53 +0000 (10:06 +0200)]
video: Fix creation of grayscale caps
The endianness was not set correctly before.
Fixes bug #646923.
Wim Taymans [Wed, 6 Apr 2011 17:21:02 +0000 (19:21 +0200)]
xvimagesink: make the show_frame function prettier
Wim Taymans [Wed, 6 Apr 2011 15:54:28 +0000 (17:54 +0200)]
ximage: more fixes
Wim Taymans [Wed, 6 Apr 2011 14:33:56 +0000 (16:33 +0200)]
Merge branch 'master' into 0.11
Conflicts:
ext/theora/gsttheoraenc.c
Wim Taymans [Wed, 6 Apr 2011 14:26:12 +0000 (16:26 +0200)]
ximage: more fixes
Robert Swain [Wed, 6 Apr 2011 14:11:02 +0000 (16:11 +0200)]
docs: Update interlaced video design document
The RFF flag is to be reused for buffers in the telecine state to
indicate that the buffer contains only unneeded repeated fields that are
present in other buffers and as such this buffer can be dropped.
benjamin gaignard [Wed, 6 Apr 2011 10:26:47 +0000 (12:26 +0200)]
xvimagesink: use bufferpool
Improve bufferpool handling in ximagesink.
Implement bufferpool handling on xvimagesink.
Based on patches from benjamin gaignard <benjamin.gaignard@linaro.org>
Mark Nauwelaerts [Fri, 25 Mar 2011 15:59:51 +0000 (16:59 +0100)]
theoraenc: refactor multipass file writing
Mark Nauwelaerts [Tue, 8 Feb 2011 13:02:20 +0000 (14:02 +0100)]
audioresample: minor simplification
... which avoids crashing in the off-chance that structure == NULL.
Stefan Kost [Tue, 5 Apr 2011 15:14:49 +0000 (18:14 +0300)]
tests: add basic unit tests for discoverer
Pascal Buhler [Tue, 24 Aug 2010 11:14:33 +0000 (13:14 +0200)]
rtcpbuffer: Round to next 32bit word, not current 32bit word at end of SDES chunk
Stefan Kost [Tue, 5 Apr 2011 08:32:52 +0000 (11:32 +0300)]
xvimagesink: don't paint the window black when going to NULL
Leave dealing with the appearance of the window when we are not playing to the
applications. We anyway want to go to NULL as quickly as possible.
Fixes #635800
David Schleef [Mon, 4 Apr 2011 23:00:30 +0000 (16:00 -0700)]
video: Fix YUV9 and YVU9 again
Tim-Philipp Müller [Mon, 4 Apr 2011 22:41:16 +0000 (23:41 +0100)]
tag: fix compiler warning on OSX
gstvorbistag.c: In function 'gst_tag_list_from_vorbiscomment_buffer':
gstvorbistag.c:371: warning: 'data' may be used uninitialized in this function
Tim-Philipp Müller [Mon, 4 Apr 2011 22:23:37 +0000 (23:23 +0100)]
tests: ignore xmpwriter unit test binary
Haakon Sporsheim [Mon, 4 Apr 2011 15:21:45 +0000 (17:21 +0200)]
tag: use gst/math-compat.h header.
https://bugzilla.gnome.org/show_bug.cgi?id=646744
Haakon Sporsheim [Mon, 4 Apr 2011 15:23:53 +0000 (17:23 +0200)]
tag: Remove constness to silence MS compiler.
https://bugzilla.gnome.org/show_bug.cgi?id=646744
Haakon Sporsheim [Mon, 4 Apr 2011 15:23:13 +0000 (17:23 +0200)]
tag: Explicit cast to GThreadFunc to silence MS compiler.
https://bugzilla.gnome.org/show_bug.cgi?id=646744
Stefan Kost [Mon, 4 Apr 2011 12:56:50 +0000 (15:56 +0300)]
Automatic update of common submodule
From 1ccbe09 to c3cafe1
Wim Taymans [Mon, 4 Apr 2011 09:44:15 +0000 (11:44 +0200)]
fix compilation after merge
Wim Taymans [Mon, 4 Apr 2011 09:31:33 +0000 (11:31 +0200)]
Merge branch 'master' into 0.11
Conflicts:
gst-libs/gst/tag/gstvorbistag.c
Trond Andersen [Fri, 11 Mar 2011 09:41:11 +0000 (10:41 +0100)]
rtcpbuffer: fix invalid read in validation of padding in rtcp packet
Stian Johansen [Wed, 23 Feb 2011 09:55:12 +0000 (10:55 +0100)]
baseaudiosrc: Add src object lock around call to ringbuffer parse caps.
A race was observed between query() and setcaps() where the latter would
change the ringbuffer spec while the former was performing operations
based this data.
Havard Graff [Sat, 22 Jan 2011 22:09:32 +0000 (23:09 +0100)]
baseaudiosrc: protect against ringbuffer disappearing while in a query
Observed a case where the src went to null-state during the query,
hence the spec pointer was no longer valid, and
gst_util_unit64_scale_int crashed (assertion `denom > 0´failed)
Add locking to make sure the ringbuffer can't disappear.
Havard Graff [Tue, 8 Feb 2011 17:27:43 +0000 (18:27 +0100)]
baseaudiosink: don't allow aligning behind the read-segment
Given a large enough drift-tolerance, one could end up in a situation
where one would keep aligning the written buffers behind the current
read-segment position. The result for the reader would be complete
silence, possible preceded by very choppy audio.
By checking the available headroom, one can determine if there is
room to do alignment, or if one should resort to a resync instead to get
the pointers back on track.
Also refactor the alignment-logic out of the render function for cleaner
code.
David Schleef [Fri, 1 Apr 2011 20:55:26 +0000 (13:55 -0700)]
Remove setting of plugindir from Makefiles
David Schleef [Thu, 24 Mar 2011 06:10:51 +0000 (23:10 -0700)]
video: Fix height calculation for YUV9/YVU9
Josep Torra [Fri, 1 Apr 2011 13:34:30 +0000 (15:34 +0200)]
oggmux: fix warning building in mac os x
Josep Torra [Fri, 1 Apr 2011 13:33:42 +0000 (15:33 +0200)]
textoverlay: fix comparison is always false due to limited range of data type
Perform calculation in a temp var with enough room as there's guarantee that
ret will be able to hold the result for example in _blit_AYUV.
Sebastian Dröge [Fri, 1 Apr 2011 10:52:05 +0000 (12:52 +0200)]
vorbistag: Write GST_TAG_IMAGE and GST_TAG_PREVIEW_IMAGE as METADATA_BLOCK_PICTURE
This is the official, standardized way of embedding images into
vorbiscomments now.
Sebastian Dröge [Fri, 1 Apr 2011 10:28:28 +0000 (12:28 +0200)]
vorbistag: Add support for METADATA_BLOCK_PICTURE tags
This is the official, standardized way of embedding pictures
inside vorbiscomments now. Parsing code taken from flacparse
and slightly changed.
Fixes bug #635669.
Sebastian Dröge [Fri, 1 Apr 2011 10:09:44 +0000 (12:09 +0200)]
vorbistag: Use g_base64_decode_inplace()
Instead of using the GLib base64 decoding functions manually to
do inplace base64 decoding. This makes the code easier to understand.
Sebastian Dröge [Fri, 1 Apr 2011 09:00:38 +0000 (11:00 +0200)]
oggmux: Store the segment directly inside the pad
Also initialize it always in TIME format. We require TIME segments
in oggmux anyway and drop newsegment events in other formats and
assume an open-ended segment starting at 0.
Sebastian Dröge [Fri, 1 Apr 2011 08:57:08 +0000 (10:57 +0200)]
oggmux: Reset the segment on flush-stop events and when going back to READY
Thiago Santos [Thu, 3 Mar 2011 11:45:15 +0000 (08:45 -0300)]
oggmux: Use running time instead of timestamps
Theora and vorbis use running time (which is correct) for calculating
the granulepos for their ogg packets. Oggmux, however, used
timestamps to order the received buffers.
This patch makes it use the running time to compare buffer times
and also to timestamp pushed buffers.
Some bits of the code still use timestamps, but they are only
used to calculate durations, so it should be fine.
https://bugzilla.gnome.org/show_bug.cgi?id=643775
Thiago Santos [Wed, 16 Feb 2011 19:07:49 +0000 (16:07 -0300)]
oggmux: Keep track of pad's segments
https://bugzilla.gnome.org/show_bug.cgi?id=643775
Sebastian Dröge [Fri, 1 Apr 2011 08:39:31 +0000 (10:39 +0200)]
textoverlay: Add support for xBGR and RGBx
Now all RGB variants are supported.
Lane Brooks [Tue, 18 Jan 2011 04:12:18 +0000 (21:12 -0700)]
textoverlay: Added support for ARGB and other RGB alpha variants
Lane Brooks [Tue, 11 Jan 2011 17:34:33 +0000 (10:34 -0700)]
textoverlay: converted AYUV to use 'A OVER B' alpha compositing
'A OVER B' compositing is explained at
http://en.wikipedia.org/wiki/Alpha_compositing.
Previously, overlaying text on a transparent background image left the
text overlay also transparent. This pipeline shows such an example:
gst-launch videotestsrc pattern=white ! video/x-raw-yuv,format=\(fourcc\)AYUV ! alpha alpha=0.0 ! textoverlay text=Testing auto-resize=False font-desc=60px ! videomixer ! ffmpegcolorspace ! autovideosink
With this patch, text is composited "OVER" the background image and
thus is visible regardless of the alpha of the background image. The
overlay in the above pipeline works after applying this patch.
Wim Taymans [Thu, 31 Mar 2011 16:40:48 +0000 (18:40 +0200)]
fixes for new API
Wim Taymans [Thu, 31 Mar 2011 15:53:12 +0000 (17:53 +0200)]
Merge branch 'master' into 0.11
Wim Taymans [Thu, 31 Mar 2011 15:47:43 +0000 (17:47 +0200)]
bufferlist: fixes for new API
Mark Nauwelaerts [Mon, 28 Mar 2011 20:00:25 +0000 (22:00 +0200)]
baseaudiosink: arrange for running clock when rendering eos
Commit
ba2e500bd992d8ad7db0da923801964964835967 ensured to provide
a running clock when EOS had finished rendering. However,
other measures are needed (and were in place before) to ensure a
running clock when EOS still needs rendering (i.e. waiting).
So, specifically, re-introduce eos_rendering removed in aforementioned commit,
this time as a public variable so subclasses can be aware of the situation.
Fixes (part of) #645961.
API: GstBaseAudioSink:eos_rendering
Edward Hervey [Thu, 31 Mar 2011 10:37:32 +0000 (12:37 +0200)]
tests: Fixes libsabi for MacOSX/32bit.
GStaticRecMutex is 60bytes on macosx/32bit (As opposed to 40).
Fixes #644996
Sebastian Dröge [Thu, 31 Mar 2011 08:38:43 +0000 (10:38 +0200)]
libsabi: Add structure sizes for x86-64
Tim-Philipp Müller [Wed, 9 Mar 2011 11:51:14 +0000 (11:51 +0000)]
libs: make sure gobject-introspection scanner calls gst_init()
Cherry-picked from 0.11, since it's the right thing to do (we
now silently rely on various _get_type() working without
gst_init() having been called).
Tim-Philipp Müller [Wed, 30 Mar 2011 19:57:32 +0000 (20:57 +0100)]
libs: replace 0.10 with @GST_MAJORMINOR@ in Makefile.am
For easier cherry-picking/merging later.
Wim Taymans [Wed, 30 Mar 2011 18:35:51 +0000 (20:35 +0200)]
xmp: fix after merge conflict
Wim Taymans [Wed, 30 Mar 2011 18:23:54 +0000 (20:23 +0200)]
Merge branch 'master' into 0.11-fdo
Conflicts:
gst-libs/gst/tag/gstxmptag.c
Wim Taymans [Wed, 30 Mar 2011 14:50:45 +0000 (16:50 +0200)]
Fix for latest API changes
Tim-Philipp Müller [Wed, 30 Mar 2011 14:47:38 +0000 (15:47 +0100)]
tests: add typefind test for application/x-hls
To make sure we don't break detection when we add typefinding
for normal m3u8 playlists.
Tim-Philipp Müller [Wed, 30 Mar 2011 14:44:45 +0000 (15:44 +0100)]
typefindfunctions: rename type playlist/m3u8 to application/x-hls
We should keep playlist/m3u8 available for normal m3u8 playlists,
which we we'll likely support some day. Also, we probably don't
want this handled like other playlists, so application/* seems
more appropriate in this case, even if it's really just a playlist.
Sebastian Dröge [Wed, 30 Mar 2011 07:18:00 +0000 (09:18 +0200)]
typefind: Fix comment typo and add a link the the HTTP live streaming spec
Sebastian Dröge [Wed, 30 Mar 2011 07:12:25 +0000 (09:12 +0200)]
typefind: Use the DataScanCtx for the m3u8 typefinder
Andoni Morales Alastruey [Mon, 14 Feb 2011 18:05:09 +0000 (19:05 +0100)]
typefind: add m3u8 playlists
Thiago Santos [Mon, 21 Mar 2011 18:34:09 +0000 (15:34 -0300)]
tagxmpwriter: Add check tests
https://bugzilla.gnome.org/show_bug.cgi?id=645167
Thiago Santos [Thu, 17 Mar 2011 18:42:28 +0000 (15:42 -0300)]
tagxmpwriter: Adds a new GstTagXmpWriter interface
The GstTagXmpWriter interface is to be implemented on elements that
provide xmp serialization. It allows users to select which
xmp schemas should be used on serialization.
API: GstTagXmpWriter
https://bugzilla.gnome.org/show_bug.cgi?id=645167
Thiago Santos [Fri, 18 Mar 2011 12:28:23 +0000 (09:28 -0300)]
tag: xmp: Add function to list the available schemas
Adds a function to list the available schemas in our xmp lib
https://bugzilla.gnome.org/show_bug.cgi?id=645167
Sebastian Dröge [Tue, 29 Mar 2011 13:41:33 +0000 (15:41 +0200)]
encodebin: Requesting a pad again now gives a g_return_val_if_fail()
Before the behaviour was undefined and implemented differently by elements,
now core checks for this (and other problems) and returns NULL and an assertion.
Wim Taymans [Tue, 29 Mar 2011 09:08:19 +0000 (11:08 +0200)]
remove deprecated buffer methods
Wim Taymans [Mon, 28 Mar 2011 18:19:24 +0000 (20:19 +0200)]
oggparse: fix for _make_writable
Wim Taymans [Mon, 28 Mar 2011 18:13:59 +0000 (20:13 +0200)]
Merge branch 'master' into 0.11-fdo
Wim Taymans [Mon, 28 Mar 2011 17:23:38 +0000 (19:23 +0200)]
tests: fix more checks
Wim Taymans [Mon, 28 Mar 2011 16:42:09 +0000 (18:42 +0200)]
tests: fix RTP and RTCP unit tests
Wim Taymans [Mon, 28 Mar 2011 16:22:50 +0000 (18:22 +0200)]
test: fic tag check
Wim Taymans [Mon, 28 Mar 2011 16:17:45 +0000 (18:17 +0200)]
tests: fix patch names and g_object_unref
Wim Taymans [Mon, 28 Mar 2011 16:01:03 +0000 (18:01 +0200)]
tests: fix version number checks