Sebastian Dröge [Fri, 27 May 2011 11:58:41 +0000 (13:58 +0200)]
Merge branch 'master' into 0.11
Sebastian Dröge [Fri, 27 May 2011 11:13:42 +0000 (13:13 +0200)]
audioconvert: Optimize transform_caps()
If the second and next caps structures are a subset of the already existing
transformed caps we can safely skip them because we would transform them to
the same caps again.
This makes gst_pad_get_caps() on an audiotestsrc ! audioconvert !
audioconvert ! audioconvert ! fakesink pipeline about 1.7 times faster.
Sebastian Dröge [Fri, 27 May 2011 10:13:32 +0000 (12:13 +0200)]
audioconvert: Fix audioconvert unit test to work again
Sebastian Dröge [Fri, 27 May 2011 10:13:14 +0000 (12:13 +0200)]
gst: Update for the GstBaseTransform::transform_caps() changes
Stefan Kost [Fri, 27 May 2011 08:39:21 +0000 (11:39 +0300)]
code-utile: fix level descriptions for fgs
fgs levels range from 8-13 and are mapped to 0-5.
Stefan Kost [Wed, 25 May 2011 11:38:21 +0000 (14:38 +0300)]
codec-utils: fix mpeg4 level verification
The current condition would never be true. As levels<6 are asp and levels>7 and
<14 are fgs, we should return NULL for cases 6,7,14,15.
Wim Taymans [Thu, 26 May 2011 14:08:44 +0000 (16:08 +0200)]
-base: change for changed set_blocked API
Sebastian Dröge [Thu, 26 May 2011 11:47:24 +0000 (13:47 +0200)]
Merge branch 'master' into 0.11
Sebastian Dröge [Thu, 26 May 2011 10:33:08 +0000 (12:33 +0200)]
xvimagesink: Fallback to non-XShm mode if allocating the XShm image failed
Fixes bug #630442.
Sebastian Dröge [Thu, 26 May 2011 10:30:31 +0000 (12:30 +0200)]
ximagesink: Fallback to non-XShm mode if allocating the XShm image failed
Fixes bug #630442.
Sebastian Dröge [Thu, 26 May 2011 09:41:50 +0000 (11:41 +0200)]
playbin2: Let the input-selectors sync all streams to the running time
This is especially needed when switching between a non-sparse and sparse
video stream, see bug #537382. It also lowers the time needed for switching
between streams a bit.
Lane Brooks [Thu, 20 Jan 2011 07:52:50 +0000 (00:52 -0700)]
textoverlay: added 'outline-color' parameter to control whether text gets a shadow
Lane Brooks [Thu, 20 Jan 2011 07:42:39 +0000 (00:42 -0700)]
textoverlay: added 'shadow' option to control whether text gets a shadow
Jindrich Makovicka [Thu, 26 May 2011 08:48:05 +0000 (10:48 +0200)]
textrender: Correctly negotiate with downstream instead of just using random caps
Fixes bug #638897.
Jindrich Makovicka [Thu, 26 May 2011 08:43:51 +0000 (10:43 +0200)]
textrender: Add bound checks to not write outside the image area
Jindrich Makovicka [Thu, 26 May 2011 08:42:46 +0000 (10:42 +0200)]
textrender: Prevent double unref of caps if the caps can't be set on the srcpad
Sebastian Dröge [Thu, 26 May 2011 08:31:11 +0000 (10:31 +0200)]
gnomevfssrc: Keep track of interruptions during read with a flag
American Dynamics [Fri, 3 Sep 2010 13:11:30 +0000 (09:11 -0400)]
gnomevfssrc: Add support for cancelling the read operations
This allows the state change from PAUSED to READY to be faster.
Fixes bug #628337.
Sreerenj Balachandran [Wed, 25 May 2011 11:14:46 +0000 (14:14 +0300)]
ximagesink: Remove g_assert from interface query
Sreerenj Balachandran [Wed, 25 May 2011 11:08:43 +0000 (14:08 +0300)]
xvimagesink: Remove the g_assert from interface query
Stefan Kost [Wed, 25 May 2011 21:17:40 +0000 (00:17 +0300)]
audiotestsrc: add blue and violet noise by using spectral inversion
Add blue and violet noise by spectral inversion of pink and red noise.
Fixes #649969
Stefan Kost [Wed, 25 May 2011 20:40:26 +0000 (23:40 +0300)]
audiotestsrc: add red (brownian) noise generator
Add another noise generator which produces a quite dark noise color.
Fixes parts of #649969.
Vladimir Eremeev [Mon, 27 Sep 2010 09:32:31 +0000 (13:32 +0400)]
seek: set selected/default audio/video sinks on playbin and playbin2
https://bugzilla.gnome.org/show_bug.cgi?id=630322
Tim-Philipp Müller [Wed, 25 May 2011 18:03:44 +0000 (19:03 +0100)]
seek: add --audiosink and --videosink command line options
Tim-Philipp Müller [Wed, 25 May 2011 17:50:34 +0000 (18:50 +0100)]
seek: use the right GDK defines to differentiate between the backends
Tim-Philipp Müller [Wed, 25 May 2011 17:45:33 +0000 (18:45 +0100)]
seek: use gst_filename_to_uri() to convert a filename to a uri
Vladimir Eremeev [Mon, 27 Sep 2010 08:46:54 +0000 (12:46 +0400)]
seek: make seek example work in win32
https://bugzilla.gnome.org/show_bug.cgi?id=630322
Tim-Philipp Müller [Wed, 25 May 2011 15:08:54 +0000 (16:08 +0100)]
configure: update GLib requirement to >= 2.24
Same as core (make implicit requirement explicit).
http://gstreamer.freedesktop.org/wiki/ReleasePlanning/GLibRequirement
Stefan Kost [Wed, 25 May 2011 12:24:33 +0000 (15:24 +0300)]
theoraenc: remove bogus <0 check for unsigned var
bytes_written is a gsize which is unsigned and thus never < 0.
Stefan Kost [Wed, 25 May 2011 12:23:13 +0000 (15:23 +0300)]
theoraenc: fix variable type for bytes_consumed
th_encode_ctl() returns an int. Using a gsize result in bogus <0 checks.
Stefan Kost [Wed, 25 May 2011 12:04:20 +0000 (15:04 +0300)]
riff: remove the g_return_if_fail as we test it below
We don't want to return without setting taglist=NULL if asserts are on and with
setting taglist=NULL otherwise.
Stefan Kost [Wed, 25 May 2011 11:28:18 +0000 (14:28 +0300)]
volume: use a flag for 'mute' using the controller
Previously we checked mute_csource to determine wheter we need to premultiply
volumes and mute values. That fails as we unrefs mute_csource and set it to
NULL after. Use an extra flag instead.
Stefan Kost [Wed, 25 May 2011 11:12:50 +0000 (14:12 +0300)]
exiftag: reflow the code
Move the warning on unsupported units to the swicth-case. Move fetching the
pending tags down to where we use them.
Stefan Kost [Wed, 25 May 2011 10:59:57 +0000 (13:59 +0300)]
exiftag: set value=1 if we found the token
Otherwise we never write the tag. This would also be consistent with the code in
deserialize_scene_type().
Stefan Kost [Wed, 25 May 2011 09:30:51 +0000 (12:30 +0300)]
xvimagesink: run gst-indent
Stefan Kost [Wed, 25 May 2011 09:29:21 +0000 (12:29 +0300)]
xvimagesink: remove unneded !=NULL checks
We check for matching_attr!=NULL right before already.
Wim Taymans [Tue, 24 May 2011 16:21:06 +0000 (18:21 +0200)]
feature: use object name instaed of feature name
Wim Taymans [Tue, 24 May 2011 15:37:45 +0000 (17:37 +0200)]
scheduling: port to new scheduling query
Wim Taymans [Tue, 24 May 2011 08:46:48 +0000 (10:46 +0200)]
theoradec: handle reconfigure events
Handle the caps with the caps event.
Handle the reconfigure event and renegotiate the bufferpool when needed.
Wim Taymans [Tue, 24 May 2011 07:55:47 +0000 (09:55 +0200)]
convertframe: fix for merge conflict
Wim Taymans [Tue, 24 May 2011 07:47:15 +0000 (09:47 +0200)]
Merge branch 'master' into 0.11
Conflicts:
gst-libs/gst/video/convertframe.c
Wim Taymans [Tue, 24 May 2011 07:45:18 +0000 (09:45 +0200)]
x11: free bufferpool whe activation fails
Stefan Kost [Mon, 23 May 2011 21:13:04 +0000 (00:13 +0300)]
docs: massage the section file more
Add more symbols (from unused.txt). Move the whole bunch of riff-fourcc defines
to std section too (no one is hoing to document them, right).
Stefan Kost [Mon, 23 May 2011 21:12:26 +0000 (00:12 +0300)]
docs: add missing parameter docs
Stefan Kost [Mon, 23 May 2011 20:53:38 +0000 (23:53 +0300)]
docs: move the riff structure to std-section
If someone intents to document them and the fields we can move them back.
Stefan Kost [Mon, 23 May 2011 20:53:06 +0000 (23:53 +0300)]
docs: move pluginbaseversion to separate section as we have section docs
Stefan Kost [Mon, 23 May 2011 20:51:15 +0000 (23:51 +0300)]
docs: add minimal docblobs for status code and headers
Use a trick to avoid documenting all 100 enums.
Stefan Kost [Mon, 23 May 2011 20:41:56 +0000 (23:41 +0300)]
docs: update xoverlay docs for api addition and deprecation
Stefan Kost [Mon, 23 May 2011 20:12:50 +0000 (23:12 +0300)]
docs: rtp library docs update
Stefan Kost [Mon, 23 May 2011 19:58:22 +0000 (22:58 +0300)]
docs: add missing documentation for various pieces
Thijs Vermeir [Fri, 19 Feb 2010 11:54:18 +0000 (12:54 +0100)]
baseaudiosink: recalibrate clock on setcaps
Because the spec for the ringbuffer can change when changing
the caps, we must recalibrate the clock.
https://bugzilla.gnome.org/show_bug.cgi?id=610443
Sebastian Dröge [Mon, 23 May 2011 14:02:34 +0000 (16:02 +0200)]
subparse: Try to typefind even if conversion to UTF8 failed
Fixes bug #600043.
Sebastian Dröge [Mon, 23 May 2011 14:02:20 +0000 (16:02 +0200)]
subparse: Compile the typefind regex with optimization to speed up matching
Sebastian Dröge [Mon, 23 May 2011 13:51:14 +0000 (15:51 +0200)]
subparse: Interprete typefind strings passed to GRegex as raw bytes instead of valid UTF8
Stefan Kost [Mon, 23 May 2011 12:21:59 +0000 (15:21 +0300)]
convertframe: fix docs
Fixup paramter mismatch between func and prototype. Add missing parameter docs.
Stefan Kost [Mon, 23 May 2011 12:08:24 +0000 (15:08 +0300)]
docs: fixup audio-library docs
Stefan Kost [Mon, 23 May 2011 12:02:27 +0000 (15:02 +0300)]
docs: fixup appsrc/sink api docs
Stefan Kost [Mon, 23 May 2011 11:53:26 +0000 (14:53 +0300)]
docs: fix docs for new api
Some parameters where wrong, first line missed the ':' and return docs where
broken.
Stefan Kost [Mon, 23 May 2011 11:45:23 +0000 (14:45 +0300)]
docs: update xmp api docs
Add missing section. Add new section to main-sgml. Add missing function.
Stefan Kost [Mon, 23 May 2011 11:07:38 +0000 (14:07 +0300)]
xmptag: remove late check
We deref the pointer two lines before already and besides this internal function
should not be called with this parameter=NULL.
Stefan Kost [Mon, 23 May 2011 11:01:29 +0000 (14:01 +0300)]
xmptag: have the default branch as the last one
Stefan Kost [Mon, 23 May 2011 11:00:04 +0000 (14:00 +0300)]
xmptag: an uint value can't be <0
Stefan Kost [Mon, 23 May 2011 10:53:06 +0000 (13:53 +0300)]
whitespace: trim trailing whitespace
Stefan Kost [Mon, 23 May 2011 10:50:59 +0000 (13:50 +0300)]
video.c: use a break and a final warning instead of early returns
Use breaks for case branches instead of return 0. We don't expect these to
happen anyway. Thus have a warning before the final return to make it easier to
see when things go out of sync.
Stefan Kost [Mon, 23 May 2011 10:49:01 +0000 (13:49 +0300)]
video.c: use g_assert_not_reached() for logical error here.
This will help to detect them closer to the source if they ever happen.
Wim Taymans [Fri, 20 May 2011 10:50:39 +0000 (12:50 +0200)]
encodebin: use new method
Use the new element class method to get the metadata from an element. Not all
elements might have an elementfactory.
Sebastian Dröge [Fri, 20 May 2011 10:32:35 +0000 (12:32 +0200)]
encodebin: Fix compilation after the removal of GstElementDetails
Sebastian Dröge [Fri, 20 May 2011 10:26:57 +0000 (12:26 +0200)]
Merge branch 'master' into 0.11
Conflicts:
docs/plugins/gst-plugins-base-plugins.hierarchy
docs/plugins/gst-plugins-base-plugins.interfaces
docs/plugins/gst-plugins-base-plugins.prerequisites
Stefan Kost [Fri, 20 May 2011 07:48:39 +0000 (10:48 +0300)]
lang: fix possible array overrun
We where checking for i<G_N_ELEMENTS, but where accessing i+1.
Stefan Kost [Thu, 19 May 2011 20:41:08 +0000 (23:41 +0300)]
audioconvert: cleanup helper code
make_lossless_changes() returns the same structure that we're passing (probably
to enable chaining). Instead of reusing s and making it point to s2 as well,
keep using s2. Drop the assignment which in the 2nd case is a dead one anyway.
Stefan Kost [Thu, 19 May 2011 20:25:24 +0000 (23:25 +0300)]
docs: update plugin introspection data
Now more files are merged and produced in a canonical fashion, which hopefully
creates less or no delta in the future.
Stefan Kost [Thu, 19 May 2011 19:56:53 +0000 (22:56 +0300)]
Automatic update of common submodule
From 9e5bbd5 to 69b981f
Wim Taymans [Thu, 19 May 2011 13:56:57 +0000 (15:56 +0200)]
ximagesink: implement ALLOCATION query
Wim Taymans [Thu, 19 May 2011 13:55:53 +0000 (15:55 +0200)]
xvimagesink: improve allocation query
If the allocation query contains the same caps as the current allocator, we can
return that one instead of making a new one.
Christian Fredrik Kalager Schaller [Thu, 19 May 2011 12:40:29 +0000 (13:40 +0100)]
Add new header file
Wim Taymans [Thu, 19 May 2011 11:38:55 +0000 (13:38 +0200)]
visual: fix upstream renegotiation
Fix a refcount problem.
Handle reconfiguration requests.
Thiago Santos [Thu, 19 May 2011 11:30:14 +0000 (08:30 -0300)]
encodebin: Autoplug formatters
Autoplug formatters for streams if a formatter with secondary or
higher rank is found. Formatters are autoplugged when there is no
muxer or when the muxer doesn't implement the tagsetter interface.
Currently only the first formatter found is plugged, this might
help in lots of cases, but it doesn't solve the
'lamemp3 ! xingmux ! id3mux'
case.
https://bugzilla.gnome.org/show_bug.cgi?id=649841
Thiago Santos [Thu, 19 May 2011 11:27:29 +0000 (08:27 -0300)]
encodebin: fix typos
Wim Taymans [Thu, 19 May 2011 10:42:46 +0000 (12:42 +0200)]
visual: improve negotiation
Remove the setcaps function on the srcpad, we know exactly when we negotiate a
new format now.
Use a caps event to configure new caps.
Wim Taymans [Thu, 19 May 2011 10:29:57 +0000 (12:29 +0200)]
vorbis: fix for new API
Wim Taymans [Thu, 19 May 2011 09:31:53 +0000 (11:31 +0200)]
Merge branch 'master' into 0.11
Aleix Conchillo Flaque [Wed, 18 May 2011 20:07:58 +0000 (22:07 +0200)]
vorbisdec: Handle headers in caps
Sebastian Dröge [Wed, 18 May 2011 15:23:18 +0000 (17:23 +0200)]
base: Update for SEGMENT event parse API changes
Stefan Kost [Wed, 18 May 2011 13:09:47 +0000 (16:09 +0300)]
Automatic update of common submodule
From fd35073 to 9e5bbd5
Robert Swain [Wed, 18 May 2011 11:18:15 +0000 (13:18 +0200)]
gstvideo: Add gst_video_get_size_from_caps function
gst_video_get_size_from_caps () allows easy calculation of the raw video
buffer size from some fixed video caps.
API: gst_video_get_size_from_caps()
Stefan Kost [Wed, 18 May 2011 09:24:02 +0000 (12:24 +0300)]
Automatic update of common submodule
From 46dfcea to fd35073
Robert Swain [Wed, 18 May 2011 07:34:52 +0000 (09:34 +0200)]
alsa: Remove unused but set variable
Unused but set variables cause warnings in GCC 4.6.x and newer.
Sebastian Dröge [Tue, 17 May 2011 11:04:27 +0000 (13:04 +0200)]
gst: Update for caps/pad template related API changes
Sebastian Dröge [Tue, 17 May 2011 11:03:57 +0000 (13:03 +0200)]
tests: Update for caps/pad template related API changes
Sebastian Dröge [Tue, 17 May 2011 11:01:39 +0000 (13:01 +0200)]
ext: Update for caps/pad template related API changes
Sebastian Dröge [Tue, 17 May 2011 10:54:41 +0000 (12:54 +0200)]
sys: Update for caps/pad template related API changes
Sebastian Dröge [Tue, 17 May 2011 10:51:34 +0000 (12:51 +0200)]
encodebin: Update for caps/pad template related API changes
Sebastian Dröge [Tue, 17 May 2011 10:47:32 +0000 (12:47 +0200)]
encoding-profile: Returns a new reference of caps everywhere instead of const caps
Sebastian Dröge [Tue, 17 May 2011 10:29:24 +0000 (12:29 +0200)]
audiofilter: gst_pad_template_new() does not take ownership of the caps anymore
There's no need to copy the caps before passing them to that function.
Sebastian Dröge [Tue, 17 May 2011 09:27:12 +0000 (11:27 +0200)]
Merge branch 'master' into 0.11
Sebastian Dröge [Tue, 17 May 2011 09:25:31 +0000 (11:25 +0200)]
Revert "-base_port to new query API"
This reverts commit
c9f4e0676ba8c8074a50aa6d1d058f6da9a76b32.
Sebastian Dröge [Tue, 17 May 2011 09:24:18 +0000 (11:24 +0200)]
Revert "decodebin2: Update for GstQuery related API changes"
This reverts commit
549128c2a3702a878c62f5603e097c8df7075f36.
Edward Hervey [Tue, 17 May 2011 08:20:36 +0000 (10:20 +0200)]
rtsp: Fix typo which broke the build
Wim Taymans [Tue, 17 May 2011 07:31:01 +0000 (09:31 +0200)]
Merge branch 'master' into 0.11
Miguel Angel Cabrera Moya [Mon, 16 May 2011 13:35:50 +0000 (15:35 +0200)]
rtspconnection: not enter in not controllable state unless it is necessary
When closing rtspsrc the state change blocks until the polling in the
connection timeouts. This is because the second time we loop to read a
full message controllable is set to FALSE in the poll group, even though no
message is half read.
This can be avoided by not setting controllable to FALSE the poll group
unless we had begin to read a message.
Fixes #610916