Tim-Philipp Müller [Mon, 22 Apr 2013 22:51:08 +0000 (23:51 +0100)]
Automatic update of common submodule
From 3cb3d3c to 5edcd85
Tim-Philipp Müller [Sun, 21 Apr 2013 18:02:42 +0000 (19:02 +0100)]
Update disted orc backup files
Generated with 0.4.17 now.
Tim-Philipp Müller [Sun, 21 Apr 2013 16:24:55 +0000 (17:24 +0100)]
uridecodebin: don't report 'no uri handler found' if the URI was rejected by a source
If a source element could be created for a URI, but all elements rejected
the URI for some reason, propagate the error from the URI handler instead
of reporting a 'no uri handler found for protocol xyz' error, which is
confusing. Fixes error reporting with dvb:// URIs when the channel config
file could not be found or not be parsed or the channel isn't listed.
https://bugzilla.gnome.org/show_bug.cgi?id=678892
Thibault Saunier [Fri, 19 Apr 2013 20:59:56 +0000 (17:59 -0300)]
adder: Do not try to wait for flush_stop after receiving a segment event
+ Add a simple test
Stefan Sauer [Thu, 18 Apr 2013 05:55:56 +0000 (07:55 +0200)]
volume: skip controlled processing if we have no timestamp
Sreerenj Balachandran [Thu, 18 Apr 2013 09:07:37 +0000 (12:07 +0300)]
playbin: use _plugin_feature_rank_compare API instead of duplicating the code.
Sreerenj Balachandran [Thu, 18 Apr 2013 09:03:29 +0000 (12:03 +0300)]
decodebin: use _plugin_feature_rank_compare API instead of duplicating the code.
Sebastian Dröge [Thu, 18 Apr 2013 07:58:09 +0000 (09:58 +0200)]
videoencoder: Simply setcaps function
Sebastian Dröge [Thu, 18 Apr 2013 07:54:48 +0000 (09:54 +0200)]
audioencoder: Ignore caps events if the input caps did not change
Sebastian Dröge [Thu, 18 Apr 2013 07:54:25 +0000 (09:54 +0200)]
audiodecoder: Ignore caps events if the input caps did not change
Stefan Sauer [Wed, 17 Apr 2013 05:51:38 +0000 (07:51 +0200)]
oggmux: add more logging and fix the object param for some logging
Use data->pad instead of pad for 'object'. Reduce indentation depth in a helper
with an early return.
Sebastian Dröge [Wed, 17 Apr 2013 08:35:22 +0000 (10:35 +0200)]
videometa: Extend GstVideoGLTextureUploadMeta
https://bugzilla.gnome.org/show_bug.cgi?id=697112
Tim-Philipp Müller [Wed, 17 Apr 2013 08:23:20 +0000 (09:23 +0100)]
docs: add some more audio macros
Philippe Normand [Thu, 28 Mar 2013 13:21:41 +0000 (14:21 +0100)]
uridecodebin: query bandwidth capability to source element
Use a scheduling query to check if the source element has some
bandwidth limitations. If this is the case on-disk buffering might be
used. If the source element doesn't handle the scheduling query then
fallback to checking the URI protocol against the hardcoded list of
protocols known to handle buffering already.
Fixes bug 693484.
Sebastian Dröge [Tue, 16 Apr 2013 12:09:43 +0000 (14:09 +0200)]
app: Don't use $(GST_PLUGIN_LIBTOOLFLAGS) for real libraries
Sebastian Dröge [Wed, 24 Oct 2012 10:10:44 +0000 (12:10 +0200)]
gst: Add better support for static plugins
Wim Taymans [Mon, 15 Apr 2013 13:37:17 +0000 (15:37 +0200)]
sdp: dynamically allocate buffers
Remove the static maximum buffer size and replace with dynamic allocation of as
much bytes as needed. Also avoids doing large allocations on the stack.
Wim Taymans [Mon, 15 Apr 2013 12:25:16 +0000 (14:25 +0200)]
sdp: add Since markers
Jose Antonio Santos Cadenas [Fri, 12 Apr 2013 07:35:34 +0000 (09:35 +0200)]
sdp: add boxed type for GstSDPMessage
Also added some tests of this improvement.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=697808
Matej Knopp [Tue, 9 Apr 2013 20:07:15 +0000 (22:07 +0200)]
riff: add format=WMV3 for WMV 3 caps
https://bugzilla.gnome.org/show_bug.cgi?id=697665
Sreerenj Balachandran [Mon, 15 Apr 2013 09:37:07 +0000 (12:37 +0300)]
playbin: use ascending order for name based sorting of pluginfeatures.
The compare_factories_func() should return negative value
if the rank of both PluginFeatures are equal and the name of
first PluginFeature comes before the second one (== ascending order).
Sreerenj Balachandran [Mon, 15 Apr 2013 09:20:09 +0000 (12:20 +0300)]
decodebin: use ascending order for name based sorting of pluginfeatures.
The _decode_bin_compare_factories_func() should return negative
value if the rank of both PluginFeatures are equal and the name of
first PluginFeature comes before the second one (== ascending order).
Sebastian Dröge [Mon, 15 Apr 2013 08:13:14 +0000 (10:13 +0200)]
audioringbuffer: Also reset segbase
Paul HENRYS [Wed, 10 Apr 2013 14:38:14 +0000 (16:38 +0200)]
audioringbuffer: Reset segdone when releasing audioringbuffer
https://bugzilla.gnome.org/show_bug.cgi?id=697723
Tom Greenwood [Wed, 10 Apr 2013 19:45:37 +0000 (20:45 +0100)]
rtpbasedepayload: Ignore caps events if the caps did not change
https://bugzilla.gnome.org/show_bug.cgi?id=697672
Sebastian Dröge [Mon, 15 Apr 2013 07:42:22 +0000 (09:42 +0200)]
videoencoder: Ignore caps events if the caps did not change
Tom Greenwood [Wed, 10 Apr 2013 18:07:00 +0000 (19:07 +0100)]
videodecoder: Ignore caps events if the caps did not change
https://bugzilla.gnome.org/show_bug.cgi?id=697672
Sebastian Dröge [Mon, 15 Apr 2013 06:38:34 +0000 (08:38 +0200)]
ogg: Prevent some symbol conflicts between the ogg plugin and schroedinger
Tim-Philipp Müller [Sun, 14 Apr 2013 16:54:43 +0000 (17:54 +0100)]
Automatic update of common submodule
From 2736592 to 3cb3d3c
Tim-Philipp Müller [Sun, 14 Apr 2013 16:26:13 +0000 (17:26 +0100)]
Automatic update of common submodule
From aed87ae to 2736592
Tim-Philipp Müller [Fri, 12 Apr 2013 10:49:27 +0000 (11:49 +0100)]
playbin: fix jpeg passthrough to decoder sinks by marking image/* as video stream
Jonas Holmberg [Fri, 12 Apr 2013 09:50:53 +0000 (11:50 +0200)]
tests: avoid assert in adder test if no audio sources work
The array of factories should not contain a NULL element at the end
since the number of arguments is determined via G_N_ELEMENTS and the
NULL will be used as an argument to gst_element_factory_make() if
the other sources in the list weren't usable.
Víctor Manuel Jáquez Leal [Thu, 11 Apr 2013 17:25:51 +0000 (13:25 -0400)]
videometa: gst_buffer_add_meta() can return NULL
https://bugzilla.gnome.org/show_bug.cgi?id=697824
Stefan Sauer [Tue, 9 Apr 2013 18:59:51 +0000 (20:59 +0200)]
Automatic update of common submodule
From 04c7a1e to aed87ae
Alexander Schrab [Tue, 9 Apr 2013 10:27:48 +0000 (12:27 +0200)]
ximagesink: Fix coompiler error without HAVE_XSHM
https://bugzilla.gnome.org/show_bug.cgi?id=697628
Sebastian Dröge [Tue, 9 Apr 2013 12:04:47 +0000 (14:04 +0200)]
videoscale: Fix unit test after latest videoconvert changes
Sebastian Dröge [Tue, 9 Apr 2013 11:59:34 +0000 (13:59 +0200)]
videoconvert: Fix unit test after latest videoconvert changes
Thomas Scheuermann [Mon, 8 Apr 2013 07:09:33 +0000 (09:09 +0200)]
rtsp: Don't use / as path if no path was provided
RTSP does not mandate that a non-zero-length path is used and
some devices (e.g. IQinVision IQeye 1080p) requires that a
zero-length path is used.
Sebastian Dröge [Mon, 8 Apr 2013 06:29:34 +0000 (08:29 +0200)]
videoscale: Allow passthrough for ANY caps features
Sebastian Dröge [Mon, 8 Apr 2013 06:15:15 +0000 (08:15 +0200)]
videoconvert: Allow passthrough for ANY caps features
David Schleef [Sat, 6 Apr 2013 20:00:02 +0000 (13:00 -0700)]
videoscale: set reasonable limits on properties
Properties sharpen, sharpness, and envelope are only useful
near their default values. Decrease ranges to avoid brokenness.
https://bugzilla.gnome.org/show_bug.cgi?id=682171
Stefan Sauer [Fri, 5 Apr 2013 20:03:56 +0000 (22:03 +0200)]
videoscale: set min value to DBL_MIN to avoid a value of 0.0 that would crash
Jose Antonio Santos Cadenas [Thu, 4 Apr 2013 14:32:45 +0000 (16:32 +0200)]
sdp: Set session as permanent (t=0 0) if there is no time information
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=697277
Olivier Crête [Tue, 11 Sep 2012 23:41:31 +0000 (19:41 -0400)]
audiovisualizer: Don't try to sync controller values to invalid timestamp
Wim Taymans [Thu, 4 Apr 2013 16:18:54 +0000 (18:18 +0200)]
oggdemux: don't push on NOT_LINKED pads
If our previous flow return was NOT_LINKED, don't try to push on the pads some
more. If we get a RECONFIGURE event on the pad, try to push on it again.
Wim Taymans [Thu, 4 Apr 2013 13:00:52 +0000 (15:00 +0200)]
decodebin2: forward all sticky events to decodepad
Forward all sticky events to the decodepad before exposing the pads. This makes
sure all sticky events are on the exposed pad.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=696915
Wim Taymans [Thu, 4 Apr 2013 12:53:32 +0000 (14:53 +0200)]
decodebin: debug sticky events on exposed pads
Wim Taymans [Thu, 4 Apr 2013 12:37:15 +0000 (14:37 +0200)]
decodebin2: small cleanup
Take the event from the probe just once.
Wim Taymans [Thu, 4 Apr 2013 10:32:24 +0000 (12:32 +0200)]
rtsp: make local_ip and remote_ip variables
Separate local_ip and remote_ip into separate variables for clarity.
Wim Taymans [Thu, 4 Apr 2013 10:16:47 +0000 (12:16 +0200)]
rtsp: calculate the local ip address in accept
Calculate the local IP address in the accept call. We need to place this IP
address in the GET reply in the X-Server-IP-Address header so that the client
knows where to send the POST to in case of tunneled RTSP. Before this patch
it used the client IP address, which would make the client send the POST request
to itself and fail.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=697092
Matej Knopp [Sat, 30 Mar 2013 16:39:39 +0000 (17:39 +0100)]
videofilter: add caps to pool config
Does not cause problems but it fixes a warning in the log.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=696916
Nicolas Dufresne [Sat, 30 Mar 2013 11:00:35 +0000 (11:00 +0000)]
oggdemux: Allow EOS on timestamp equal to stop/start
Changed the check to a current_time equal to the stop will produce
EOS instead of the next one. Also, segment.start can't be NONE, so removing
this check.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=696899
Jose Antonio Santos Cadenas [Tue, 2 Apr 2013 15:09:48 +0000 (17:09 +0200)]
sdp: Do not assign -1 to an unsigned variable, use 0 instead
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=697162
Jose Antonio Santos Cadenas [Tue, 2 Apr 2013 15:05:36 +0000 (17:05 +0200)]
sdp: If attribute value is emply do not print colon character
See https://bugzilla.gnome.org/show_bug.cgi?id=697162
Jose Antonio Santos Cadenas [Tue, 2 Apr 2013 15:03:38 +0000 (17:03 +0200)]
sdp: Do not add email line by default
As specified in rfc4566 email line is optional
See https://bugzilla.gnome.org/show_bug.cgi?id=697162
Tim-Philipp Müller [Tue, 2 Apr 2013 22:40:13 +0000 (23:40 +0100)]
docs: add since marker for new video API
Tim-Philipp Müller [Tue, 2 Apr 2013 21:50:25 +0000 (22:50 +0100)]
pbutils: add description for TrueHD audio
David Svensson Fors [Thu, 28 Mar 2013 22:02:11 +0000 (23:02 +0100)]
rtsprange: use gst_util_gdouble_to_guint64 in get_seconds
https://bugzilla.gnome.org/show_bug.cgi?id=696818
Matthew Waters [Thu, 14 Mar 2013 00:15:29 +0000 (11:15 +1100)]
visualizer: handle non-existant pool in the default allocation query
gst_query_set_nth_allocation_pool() requires there to be a pool in the
query already. This is not always the case when we get the query from
upstream. Use gst_query_add_allocation_pool() instead in such case.
https://bugzilla.gnome.org/show_bug.cgi?id=681719
Sebastian Dröge [Mon, 1 Apr 2013 08:21:18 +0000 (10:21 +0200)]
video-format: Add GST_VIDEO_CAPS_MAKE_WITH_FEATURES() macro
Sebastian Dröge [Mon, 1 Apr 2013 08:21:00 +0000 (10:21 +0200)]
videometa: Add caps feature #defines for video and GL texture upload meta
Wim Taymans [Sun, 31 Mar 2013 16:54:46 +0000 (18:54 +0200)]
oggdemux: mark keyframes
Use the mapper to set the delta-unit flag.
Tim-Philipp Müller [Sun, 31 Mar 2013 16:37:01 +0000 (17:37 +0100)]
tests: fix some printf format compiler warnings
Wim Taymans [Sun, 31 Mar 2013 16:29:07 +0000 (18:29 +0200)]
videodecoder: always send the new buffer to parse functions
When we get a new buffer, always call the parse function, even if it is a 0
sized buffer. For theora we need to also decode 0 sized buffers.
Ideally we would like to make theoradec be packetized but that fails currently
because of oggdemux and because of the assumptions that the base class makes.
Wim Taymans [Sun, 31 Mar 2013 16:28:09 +0000 (18:28 +0200)]
theoradec: handle empty adapter
Should not be empty but might be when we actually pass and decode the 0 packets
later.
Vincent Penquerc'h [Mon, 25 Feb 2013 10:49:19 +0000 (10:49 +0000)]
theoraenc: do not reset the encoder when we need a keyframe
Instead, remember we need a keyframe, and we will force the encoder
to emit one next time we submit a new frame.
Since libtheora does not have an API to request a keyframe, we reset
the max keyframe interval to 1 temporarily.
This has the advantage that the rate control keeps its history,
and that the encoder won't choose different quant tables or
somesuch, thus requiring new streamheaders (although this is
probably only a theoretical possibility). Should also be a
bit faster than resetting the encoder.
https://bugzilla.gnome.org/show_bug.cgi?id=663350
Wim Taymans [Sun, 31 Mar 2013 11:46:30 +0000 (13:46 +0200)]
audiodecoder: don't make negative timestamp
Clamp timestamp interpollation to 0 to avoid going negative. This should not
happen, really, but until the interpolation is improved this seems better.
Wim Taymans [Sun, 31 Mar 2013 10:55:33 +0000 (12:55 +0200)]
streamsynchronizer: update position for reverse
When doing reverse playback the positino advances from timestamp_end to
timestamp.
Edward Hervey [Thu, 28 Mar 2013 14:20:19 +0000 (15:20 +0100)]
encodebin: Add action signal to get pad for a given profile
This allows getting a pad for a specific encoding profile, which can
be useful when there are several stream profiles of the same type.
Also update the encodebin unit tests so that we check that the returned
pad has the right caps.
https://bugzilla.gnome.org/show_bug.cgi?id=689845
Wim Taymans [Sat, 30 Mar 2013 16:20:42 +0000 (17:20 +0100)]
videoconvert: use one matrix function
Use only one matrix function pointer, let the implementation cast the pixels to
the right size.
Wim Taymans [Fri, 29 Mar 2013 10:48:05 +0000 (11:48 +0100)]
videoconvert: use one temp array for lines
Use only one temporary array for pixels.
Wim Taymans [Sat, 30 Mar 2013 18:13:47 +0000 (19:13 +0100)]
videodecoder: forward stream-start immediately
Wim Taymans [Sat, 30 Mar 2013 18:07:05 +0000 (19:07 +0100)]
audiodecoder: forward stream-start immediately
Sebastian Dröge [Sat, 30 Mar 2013 16:17:04 +0000 (17:17 +0100)]
decodebin: Remove GstdecodePads that are not going to be exposed
This makes sure that they're unlnked and don't cause any errors or
block the pipeline.
Sebastian Dröge [Sat, 30 Mar 2013 11:15:38 +0000 (12:15 +0100)]
playbin: Ignore caps from audio/video sink factories if there are fixed sinks already
Sebastian Dröge [Sat, 30 Mar 2013 11:08:06 +0000 (12:08 +0100)]
dmabuf: Some code cleanup
Sebastian Dröge [Sat, 30 Mar 2013 11:00:35 +0000 (12:00 +0100)]
docs: Add some documentation that was missing before
Sebastian Dröge [Sat, 30 Mar 2013 10:25:22 +0000 (11:25 +0100)]
playbin: Handle caps queries from unlinked elements
Pass them to all possible sinks and the current sinks to
allow elements to chose a more optimal initial caps.
Sebastian Dröge [Fri, 29 Mar 2013 17:27:03 +0000 (18:27 +0100)]
decodebin: Add autoplug-query signal to handle queries for yet unconnected elements
This allows playbin to answer the CAPS query with the possible sink
caps for example, and allows decoders to chose more optimal caps.
Sebastian Dröge [Sat, 30 Mar 2013 09:25:45 +0000 (10:25 +0100)]
decodebin: Don't add a children to a decode group twice
This can happen if a demuxer does not provide fixed caps from the
beginning but only sets them later.
Sreerenj Balachandran [Fri, 29 Mar 2013 14:05:12 +0000 (16:05 +0200)]
pbutils: Fix the documentation build warning.
Josep Torra [Sat, 30 Mar 2013 08:39:32 +0000 (09:39 +0100)]
xvimagesink: fix debug message printf format compiler warning
Stefan Sauer [Fri, 29 Mar 2013 16:14:09 +0000 (17:14 +0100)]
audiotestsrc: fix a comment typo from previous commit
Sebastian Dröge [Fri, 29 Mar 2013 15:55:56 +0000 (16:55 +0100)]
videometa: Add documentation for GstVideoGLTextureUploadMeta
Stefan Sauer [Fri, 29 Mar 2013 15:44:17 +0000 (16:44 +0100)]
audiotestssrc: truncate the seek pos to the sample and round the time
Before it was done the other way around and that can trigger the assert that
already is in place. This also makes more sense; when seeking to time x, we want
then sample that is <= that pos.
Sebastian Dröge [Fri, 29 Mar 2013 15:37:01 +0000 (16:37 +0100)]
videometa: Implement copying of GstVideoGLTextureUploadMeta
Sebastian Dröge [Fri, 29 Mar 2013 13:46:00 +0000 (14:46 +0100)]
videometa: API: Add GstVideoGLTextureUploadMeta
This allows elements to specify a function to upload
a buffer content to a specific OpenGL texture ID. It
could be used by the vaapi elements to provide a way
for eglglessink or WebKit to upload a VA surface to
an GL texture without the respective sinks knowing
anything about VA.
Stefan Sauer [Fri, 29 Mar 2013 10:47:20 +0000 (11:47 +0100)]
adder: cleanup and reenable adder live source test
The test now passed a few rounds of nice -n19 make elements/adder.torture.
Stefan Sauer [Mon, 25 Mar 2013 15:46:29 +0000 (16:46 +0100)]
audioencoder: api doc fixes.
Wim Taymans [Thu, 28 Mar 2013 17:16:09 +0000 (18:16 +0100)]
videoconvert: respect the pack_lines when packing
Packing is supposed to happen on the amount of lines specified in the format
info. It's currently all set to 1 but that will change.
Wim Taymans [Thu, 28 Mar 2013 17:13:10 +0000 (18:13 +0100)]
videoconvert: be smarter when selecting a conversion
Try to select the conversion that would result in the minimal amount of quality
loss. Quality loss is calculated rather arbitrarily but it avoids doing
something really stupid in most cases.
Wim Taymans [Wed, 27 Mar 2013 18:37:08 +0000 (19:37 +0100)]
videoconvert: small cleanup
Stefan Sauer [Thu, 28 Mar 2013 11:35:45 +0000 (12:35 +0100)]
uridecodebin: remove commented code
This is dead since ~6 years.
Stefan Sauer [Tue, 12 Mar 2013 07:10:23 +0000 (08:10 +0100)]
audiotestsrc: simplify the caps
Drop channel-mask as we only do mon/stereo and channel-mask is optional in these
cases.
Anton Belka [Mon, 25 Mar 2013 10:41:13 +0000 (13:41 +0300)]
riff: add "note" tag
Add GST_RIFF_TAG_note for wavparse.
https://bugzilla.gnome.org/show_bug.cgi?id=696549
https://bugzilla.gnome.org/show_bug.cgi?id=696550
Paul HENRYS [Fri, 22 Mar 2013 12:41:17 +0000 (13:41 +0100)]
audiobasesrc: Fix ringbuffer handling when settings caps
ringbuffer was released after setting values to its spec field
in gst_audio_base_src_setcaps(). This led to failure in case
gst_audio_base_src_setcaps() is called more than one time.
https://bugzilla.gnome.org/show_bug.cgi?id=696540
Wim Taymans [Mon, 25 Mar 2013 08:59:45 +0000 (09:59 +0100)]
video: set interlaced flag correctly in frame
We only look at the interlaced buffer flag in mixed mode, in other modes we
always need to set the interlaced flag.
Simon Berg [Sun, 24 Mar 2013 20:44:58 +0000 (20:44 +0000)]
audiotestsrc: fix rounding errors that might cause segments to be one sample too short
https://bugzilla.gnome.org/show_bug.cgi?id=676884
Simon Berg [Sun, 24 Mar 2013 20:41:44 +0000 (20:41 +0000)]
audiotestsrc: fix buffer size of last buffer
The last buffer before EOS may be smaller than the maximum
size. The current code doesn't adjust for this, it only sets
the duration and offsets.
https://bugzilla.gnome.org/show_bug.cgi?id=696411
Wim Taymans [Sat, 23 Mar 2013 23:39:01 +0000 (00:39 +0100)]
video-format: add small comment