Julien Isorce [Thu, 5 Dec 2013 14:31:25 +0000 (14:31 +0000)]
videodec/enc: clear reconfigure flag if negotiate succeeds
So that it avoids to send an allocation query twice.
One from an early call to gst_video_encoder_negotiate from a
subclass, then one from gst_video_encoder_allocate_output_frame.
Which means that previously gst_video_encoder_negotiate was not
clearing the GST_PAD_FLAG_NEED_RECONFIGURE even on success.
Fixes bug https://bugzilla.gnome.org/show_bug.cgi?id=719684
Sebastian Dröge [Thu, 5 Dec 2013 10:39:07 +0000 (11:39 +0100)]
theoradec: Use new gst_video_decoder_set_needs_format() API
Sebastian Dröge [Thu, 5 Dec 2013 10:37:09 +0000 (11:37 +0100)]
audiodecoder: Use FALSE instead of 0
Sebastian Dröge [Thu, 5 Dec 2013 10:34:36 +0000 (11:34 +0100)]
videodecoder: Add API to allow subclasses to specify that they needs caps before any buffers
Sebastian Dröge [Thu, 5 Dec 2013 10:25:47 +0000 (11:25 +0100)]
videoencoder: Return not-negotiated if we don't have caps when the first buffer arrives
Otherwise things like filesrc ! jpegenc ! fakesink just crash with
a segmentation fault because subclasses expect caps to be there.
Mark Nauwelaerts [Wed, 4 Dec 2013 18:24:08 +0000 (19:24 +0100)]
audiodecoder: no fallback to segment start for reverse playback
See https://bugzilla.gnome.org/show_bug.cgi?id=709965
Justin Joy [Wed, 4 Dec 2013 15:27:14 +0000 (00:27 +0900)]
convertframe: Fix trivial memory leak in debug statement
gst_element_get_name() requires the caller to g_free() the return value
https://bugzilla.gnome.org/show_bug.cgi?id=719850
Mark Nauwelaerts [Mon, 2 Dec 2013 19:35:04 +0000 (20:35 +0100)]
audiodecoder: use segment start as fallback ts if no other available
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=709965
Mark Nauwelaerts [Sun, 1 Dec 2013 11:37:52 +0000 (12:37 +0100)]
videodecoder: add new API to docs and defs
Mark Nauwelaerts [Tue, 26 Nov 2013 19:50:33 +0000 (20:50 +0100)]
videodecoder: make _release_frame external API
... so subclasses can release a frame all the way (also from frame list)
without having to pass through _finish_frame or _drop_frame.
The latter may not be applicable, or may or may not have already
been called for the frame in question.
See https://bugzilla.gnome.org/show_bug.cgi?id=693772
Mark Nauwelaerts [Tue, 26 Nov 2013 19:51:58 +0000 (20:51 +0100)]
videodecoder: fix spelling error in debug message
Wim Taymans [Fri, 29 Nov 2013 16:30:09 +0000 (17:30 +0100)]
uridecodebin: copy sticky events
Wim Taymans [Fri, 29 Nov 2013 16:26:13 +0000 (17:26 +0100)]
decodebin2: copy sticky events
Sebastian Dröge [Fri, 29 Nov 2013 12:32:55 +0000 (13:32 +0100)]
theoraparse: Fix event handling
Send CAPS event before any SEGMENT events or any other events
that must come in order after the CAPS event.
Tim-Philipp Müller [Fri, 29 Nov 2013 09:04:20 +0000 (09:04 +0000)]
tools: gst-play: quit on Q or Esc key
Tim-Philipp Müller [Thu, 28 Nov 2013 16:22:01 +0000 (16:22 +0000)]
tcp: fix compilation with MSVC
error C2440 at line 165 of gsttcpserversink.c
type cast error: cannot convert from GSocket* to GstMultiSinkHandle
Wim Taymans [Thu, 28 Nov 2013 10:25:20 +0000 (11:25 +0100)]
decodebin2: activate ghost pad before targetting
Activate the decodebin2 pad before setting the target. This makes sure
that the events are copied.
Matthew Waters [Thu, 21 Nov 2013 11:54:42 +0000 (22:54 +1100)]
videometa: add GstVideoGLTextureUploadMeta buffer pool option
allows configuration of whether GstVideoGLTextureUploadMeta is
added to buffers resulting from a buffer pool. This is sperate
to the caps feature in that an element may want to add the upload
meta itself rather than allowing the buffer pool to.
https://bugzilla.gnome.org/show_bug.cgi?id=712798
Sebastian Dröge [Tue, 26 Nov 2013 11:29:30 +0000 (12:29 +0100)]
audiodecoder: error out if no frames are decoded before eos
Raise an error in case no frames are decoded before EOS and we
have input, meaning that data was received but it was somehow invalid.
Based on the videodecoder change, merged here for consistency.
https://bugzilla.gnome.org/show_bug.cgi?id=711094
Sebastian Dröge [Tue, 26 Nov 2013 11:20:33 +0000 (12:20 +0100)]
audiodecoder: Allow using -1 for infinite tolerated errors
Allows using -1 to make audiodecoder never post an error message
after decoding errors.
Based on the videodecoder change, merged here for consistency.
https://bugzilla.gnome.org/show_bug.cgi?id=711094
Sebastian Dröge [Tue, 26 Nov 2013 11:03:24 +0000 (12:03 +0100)]
playsink: Fix visualizations if no visualization plugin was set
https://bugzilla.gnome.org/show_bug.cgi?id=712280
Thiago Santos [Tue, 29 Oct 2013 17:40:23 +0000 (14:40 -0300)]
videodecoder: error out if no frames are decoded before eos
Raise an error in case no frames are decoded before EOS and we
have input, meaning that data was received but it was somehow invalid.
https://bugzilla.gnome.org/show_bug.cgi?id=711094
Thiago Santos [Tue, 29 Oct 2013 17:11:51 +0000 (14:11 -0300)]
videodecoder: allow using -1 for infinite tolerated errors
Allows using -1 to make videodecoder never post an error message
after decoding errors.
https://bugzilla.gnome.org/show_bug.cgi?id=711094
Tim-Philipp Müller [Sun, 24 Nov 2013 14:38:25 +0000 (14:38 +0000)]
tools: play: implement seeking via console in interactive mode
Arrow left and right to seek back of forward.
Tim-Philipp Müller [Sun, 24 Nov 2013 14:33:24 +0000 (14:33 +0000)]
tools: play: fix endless loop on unhandled keys
When debugging output is not enabled.
Tim-Philipp Müller [Sun, 24 Nov 2013 13:49:04 +0000 (13:49 +0000)]
tools: play: add keyboard controls for next/previous item in list
Make the '>' and '<' keys skip to the next or previous item in
the playlist.
Tim-Philipp Müller [Sun, 24 Nov 2013 01:08:48 +0000 (01:08 +0000)]
tools: play: add --interactive switch and basic keyboard handling
Only pause/play with spacebar for now.
Sebastian Dröge [Sat, 23 Nov 2013 10:25:28 +0000 (11:25 +0100)]
typefind: Add typefinder for OpenEXR
Mark Nauwelaerts [Thu, 21 Nov 2013 20:33:59 +0000 (21:33 +0100)]
videodecoder: avoid descending output timestamps
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=712796
Tim-Philipp Müller [Fri, 22 Nov 2013 21:00:21 +0000 (21:00 +0000)]
tools: play: add --shuffle command line option
Tim-Philipp Müller [Thu, 21 Nov 2013 16:34:25 +0000 (16:34 +0000)]
tests: add unit test for samiparser issue
https://bugzilla.gnome.org/show_bug.cgi?id=712805
Jihyun Cho [Thu, 21 Nov 2013 13:04:46 +0000 (22:04 +0900)]
subparse: fix null pointer access in sami parser
https://bugzilla.gnome.org/show_bug.cgi?id=712805
Tim-Philipp Müller [Thu, 21 Nov 2013 15:19:47 +0000 (15:19 +0000)]
subparse: g_memmove() is deprecated
Just use plain memmove(), g_memmove() is deprecated in
recent GLib versions.
https://bugzilla.gnome.org/show_bug.cgi?id=712811
Tim-Philipp Müller [Mon, 18 Nov 2013 19:27:14 +0000 (19:27 +0000)]
tests: fix input-selector-test
Update for pad template name changes.
Tim-Philipp Müller [Mon, 18 Nov 2013 16:03:07 +0000 (16:03 +0000)]
tests: fix appsrc test with latest GLib version
With the latest GLib, g_source_remove() complains about not finding
the timeout source with the given ID here, since it was already
destroyed by returning FALSE from the timeout callback. Also return
FALSE from the bus watches when we don't want to be called any more.
Tim-Philipp Müller [Sat, 16 Nov 2013 13:06:37 +0000 (13:06 +0000)]
docs: remove old 0.10 Since markers
They're just confusing.
Tim-Philipp Müller [Sat, 16 Nov 2013 12:29:04 +0000 (12:29 +0000)]
docs: cosmetic since marker fixes
Mark Nauwelaerts [Sat, 16 Nov 2013 14:24:48 +0000 (15:24 +0100)]
audioencoder: also set output buffer DTS
Reynaldo H. Verdejo Pinochet [Thu, 14 Nov 2013 04:53:31 +0000 (01:53 -0300)]
typefind: Fix identification of some MPEG files
Make sure we begin by peeking at MPEG2_MAX_PROBE_LENGTH
bytes.
Fixes:
https://bugzilla.gnome.org/show_bug.cgi?id=678011
Sebastian Dröge [Wed, 13 Nov 2013 19:12:48 +0000 (20:12 +0100)]
rtpbuffer: Fix gst_rtp_buffer_ext_timestamp() with clang 5 on iOS/ARM
The bitwise NOT operator is not defined on signed integers.
Thanks to Wim Taymans for finding the cause.
https://bugzilla.gnome.org/show_bug.cgi?id=711819
Tim-Philipp Müller [Tue, 12 Nov 2013 18:58:43 +0000 (18:58 +0000)]
tests: fix race in streamsynchronizer test
Wait for thread to exit before starting to free the
to_push list, otherwise thread might check the final
to_push->next node only after we've freed it already.
Sreerenj Balachandran [Mon, 11 Nov 2013 12:10:53 +0000 (14:10 +0200)]
videodecoder: try to negotiate the buffer pool even though there is no o/p format
We could have allocation query before caps event and even without caps inside
the query. In such cases , the downstream can return a bufferpool object with
out actually configuring it. This feature is helpful to negotiate the bufferpool
with out knowing the output video format. For eg: some hardware accelerated
decoders can interpret the o/p video format only after it finishes the decoding
of one buffer at least.
https://bugzilla.gnome.org/show_bug.cgi?id=687183
Tom Greenwood [Thu, 7 Nov 2013 15:03:34 +0000 (15:03 +0000)]
appsrc: Fix deadlock that may occur when multiple threads access appsrc at once
https://bugzilla.gnome.org/show_bug.cgi?id=711550
Wim Taymans [Mon, 4 Nov 2013 08:55:17 +0000 (09:55 +0100)]
tagdemux: accumulate buffers in adapter
Accumulate buffers in an adapter instead of appending them because append causes
a lot of memcpys.
Keep track of the last tagsize and accumulate enough data before attempting to
parse more data.
This patch implements a minimal amount of changes in order to not change the
behaviour. We should really rewrite the tag handling and trimming using
the adapter API instead of merging and trimming into a buffer.
Sebastian Dröge [Wed, 6 Nov 2013 11:16:31 +0000 (12:16 +0100)]
adder: Free consistency checker instance in test_live_seeking test
Sebastian Dröge [Wed, 6 Nov 2013 11:01:14 +0000 (12:01 +0100)]
adder: Release some request pads properly in the unit test
Tim-Philipp Müller [Tue, 5 Nov 2013 11:18:01 +0000 (11:18 +0000)]
Automatic update of common submodule
From 865aa20 to dbedaa0
Alessandro Decina [Mon, 4 Nov 2013 10:34:38 +0000 (11:34 +0100)]
discoverer: fix build after last commit
Add a forward declaration for my_g_string_append_printf that specifies
G_GNUC_PRINTF. Turn off indent on it as it drives gst-indent crazy.
Alessandro Decina [Mon, 4 Nov 2013 10:17:30 +0000 (11:17 +0100)]
discoverer: fix -Wformat-nonliteral warning
Sebastian Dröge [Sun, 3 Nov 2013 14:57:54 +0000 (15:57 +0100)]
audio: Add unit test for filling memory with silence samples
Sebastian Dröge [Sun, 3 Nov 2013 11:23:12 +0000 (12:23 +0100)]
audio: Update ORC dist files
Sebastian Dröge [Sun, 3 Nov 2013 11:22:33 +0000 (12:22 +0100)]
audio-format: Use ORC for filling memory with silence samples
Sebastian Dröge [Fri, 1 Nov 2013 16:02:22 +0000 (17:02 +0100)]
rtspconnection: Add new API to the docs and .def file
Sebastian Dröge [Fri, 1 Nov 2013 15:43:56 +0000 (16:43 +0100)]
rtspconnection: Fix indention in header
Aleix Conchillo Flaque [Fri, 1 Nov 2013 14:25:01 +0000 (07:25 -0700)]
rtspconnection: allow setting tls certificate validation
Added new functions gst_rtsp_connection_set_tls_validation_flags() to
allow setting the TLS certificate validation flags when establishing a
TLS connection.
A getter is also available, gst_rtsp_connection_get_tls_validation_flags().
https://bugzilla.gnome.org/show_bug.cgi?id=711231
Matthieu Bouron [Fri, 1 Nov 2013 14:22:13 +0000 (14:22 +0000)]
sdp: fix duplicate 'const' declaration warnings
https://bugzilla.gnome.org/show_bug.cgi?id=711258
Thibault Saunier [Wed, 16 Oct 2013 19:46:05 +0000 (16:46 -0300)]
playback: Add subpicture/x-dvb as raw caps
https://bugzilla.gnome.org/show_bug.cgi?id=710325
Antonio Ospite [Mon, 28 Oct 2013 11:36:04 +0000 (12:36 +0100)]
videoscale: fix adding borders when NV12 is used
When the frame buffer is NV12 the borders are not added at all, fix that
and fill them to black.
https://bugzilla.gnome.org/show_bug.cgi?id=711003
Matthieu Bouron [Wed, 23 Oct 2013 15:43:32 +0000 (16:43 +0100)]
videoconvert: remove unneeded guint comparaison
https://bugzilla.gnome.org/show_bug.cgi?id=710760
Stefan Sauer [Mon, 14 Oct 2013 16:45:16 +0000 (18:45 +0200)]
discoverer: also filter 'framed' field when looking for same streams
Fixes extra streams for some mp4 files containing aac audio.
Stefan Sauer [Tue, 8 Oct 2013 19:57:11 +0000 (21:57 +0200)]
oggdemux: fix copy'n'paste in comment
Thibault Saunier [Thu, 10 Oct 2013 18:56:32 +0000 (15:56 -0300)]
theoraenc: Do nothing when flushing the encoder when no caps were set
In case we receive a flush event before having our caps set, we will
end up trying to create a theora encoder even though we are not ready.
Avoid that situation making sure we are initialized before accepting to
be flushed.
https://bugzilla.gnome.org/show_bug.cgi?id=709858
Stephan Sundermann [Fri, 11 Oct 2013 19:51:00 +0000 (21:51 +0200)]
navigation: Add missing out parameter annotations to GstNavigation
https://bugzilla.gnome.org/show_bug.cgi?id=709938
Julien Isorce [Thu, 10 Oct 2013 13:09:19 +0000 (14:09 +0100)]
examples/overlay: handle the case when xvimagesink is not found
So that ximagesink can have a chance to be found.
In qtgv-videooverlay.
Julien Isorce [Thu, 10 Oct 2013 13:01:44 +0000 (14:01 +0100)]
examples/overlay: unref sink only when found
In gtk-videooverlay and qt-videooverlay examples.
Thibault Saunier [Mon, 7 Oct 2013 17:52:00 +0000 (14:52 -0300)]
encodebin: Handle changes in encoding_profile::restriction during playback
There are cases where we want to change the restrictions caps during
playback, handle that in encodebin.
https://bugzilla.gnome.org/show_bug.cgi?id=709588
Takashi Iwai [Tue, 8 Oct 2013 15:07:02 +0000 (17:07 +0200)]
alsa: Add channel map API support
The initial support for the new ALSA chmap API.
Just translate the current chmap to GstAudioChannelPosition during the
setup. No function to specify the channel map manually yet, so still
impossible to assign any non-standard positions or to configure in a
different order even if the hardware allows.
https://bugzilla.gnome.org/show_bug.cgi?id=709755
Takashi Iwai [Tue, 8 Oct 2013 14:02:46 +0000 (16:02 +0200)]
audioringbuffer: Don't clear need_reorder flag too early
gst_audio_ring_buffer_set_channel_positions() checks whether the given
positions are identical with the current setup and returns
immediately if so. But it also clears need_reorder flag before this
comparison, thus this flag might be wrongly cleared if the function is
called twice with the same channel positions.
Move the flag clearance after the check.
https://bugzilla.gnome.org/show_bug.cgi?id=709754
Thiago Santos [Tue, 8 Oct 2013 19:13:58 +0000 (16:13 -0300)]
videotestsrc: improve test for backwards playback
Improve test by checking that timestamps are decreasing
Thiago Santos [Tue, 8 Oct 2013 19:10:54 +0000 (16:10 -0300)]
videotestsrc: implement duration query
Add duration query to videotestsrc, it can answer this query when
the num-buffers property is set.
https://bugzilla.gnome.org/show_bug.cgi?id=709646
Thibault Saunier [Fri, 7 Jun 2013 20:32:23 +0000 (16:32 -0400)]
tests: test videotestsrc in reverse playback
https://bugzilla.gnome.org/show_bug.cgi?id=701813
Thiago Santos [Tue, 8 Oct 2013 03:08:34 +0000 (00:08 -0300)]
videotestsrc: implement reverse playback
Decrement the n_frames counter when doing reverse playback to
have timestamps and offsets reducing instead of increasing
https://bugzilla.gnome.org/show_bug.cgi?id=701813
Stefan Sauer [Tue, 8 Oct 2013 07:13:50 +0000 (09:13 +0200)]
videodecoder: don't overflow in bytes<->time conversion
fps_n and _d values can be large and this can overflow a uint. Also fix
copy'n'paste mistake in comments.
Stefan Sauer [Mon, 7 Oct 2013 20:52:27 +0000 (22:52 +0200)]
discoverer: filter 'parsed' field when checking for same caps
We're checking the caps to see if we got more caps details after a parser got
plugged. This will also have a flipped 'parsed' field. If the field was already
present before the parse the match will fail. Add a function that will do the
check while excluding this field.
Stefan Sauer [Mon, 7 Oct 2013 20:51:46 +0000 (22:51 +0200)]
discoverer: don't shadow local variables
Stefan Sauer [Mon, 7 Oct 2013 20:51:04 +0000 (22:51 +0200)]
discoverer: early return when we have no streams
Stefan Sauer [Mon, 7 Oct 2013 20:49:52 +0000 (22:49 +0200)]
discoverer: also log stream-id
Stefan Sauer [Mon, 7 Oct 2013 16:53:18 +0000 (18:53 +0200)]
discoverer: fix quark-mismatch for toc and stream-id
Seems like a copy'n'paste from
15ee41df.
Stefan Sauer [Sat, 5 Oct 2013 19:01:53 +0000 (21:01 +0200)]
discoverer: report depth for video
This was returning 0 in all cases. Use the data from GstVideoFormatInfo instead.
Matej Knopp [Fri, 4 Oct 2013 11:57:51 +0000 (13:57 +0200)]
audioconvert: Map buffer as READWRITE if the buffer and memory is writable
and only use the input buffer as temporary buffer in that case.
https://bugzilla.gnome.org/show_bug.cgi?id=709408
Hans Månsson [Mon, 30 Sep 2013 19:46:10 +0000 (21:46 +0200)]
rtspconnection: Connect to proxy if specified
Reference: https://bugzilla.gnome.org/show_bug.cgi?id=708880
Stefan Sauer [Thu, 3 Oct 2013 17:52:58 +0000 (19:52 +0200)]
discoverer: extract helper to print common stream info
Save some lnes of code by using a helper for common stream info.
Stefan Sauer [Wed, 2 Oct 2013 09:27:41 +0000 (11:27 +0200)]
discoverer: extract some common code
Extract code to make a GstDiscovererInfo. Extracts code that sets StreamInfo.
Sebastian Dröge [Wed, 2 Oct 2013 13:02:44 +0000 (15:02 +0200)]
playsink: If the visualisation is changing and reconfiguration is pending, do it all during reconfiguration
Otherwise we will have two pad blocks that want to use the same mutex
and block each other via the streamlock.
https://bugzilla.gnome.org/show_bug.cgi?id=709210
Edward Hervey [Wed, 2 Oct 2013 11:06:03 +0000 (13:06 +0200)]
win32: Update defs file
Sreerenj Balachandran [Wed, 2 Oct 2013 09:26:59 +0000 (12:26 +0300)]
pbutils: Add codec-utility funtions to support H265
https://bugzilla.gnome.org/show_bug.cgi?id=708921
Sebastian Dröge [Tue, 1 Oct 2013 21:17:06 +0000 (23:17 +0200)]
descriptions: Add description for H.265
Sreerenj Balachandran [Tue, 24 Sep 2013 12:51:46 +0000 (15:51 +0300)]
typefind: Add typefind function for H265
https://bugzilla.gnome.org/show_bug.cgi?id=708680
Thiago Santos [Tue, 24 Sep 2013 23:47:52 +0000 (16:47 -0700)]
playbin: make sure elements are in null before disposing
If a pipeline fails to preroll, it might happen that the sinks are
put into READY state from playbin's sink activation, but they are never
set to playsink, so they aren't being managed by a GstBin and will keep
their READY state until they are unreffed, leading to a warning.
Prevent this by always forcing them to NULL when deactivating a group
https://bugzilla.gnome.org/show_bug.cgi?id=708789
Johannes Dewender [Sat, 28 Sep 2013 11:19:02 +0000 (13:19 +0200)]
audiocdsrc: Don't consider trailing data tracks for MusicBrainz disc id calculation
MusicBrainz removes trailing data tracks from releases on the server
and also for the calculation of the MusicBrainz Disc ID.
https://bugzilla.gnome.org/show_bug.cgi?id=708991
David Svensson Fors [Mon, 23 Sep 2013 09:35:43 +0000 (11:35 +0200)]
audioringbuffer: check if acquired in set_timestamp
Also use GST_OBJECT_LOCK when accessing object data in set_timestamp.
https://bugzilla.gnome.org/show_bug.cgi?id=702230
MathieuDuponchelle [Sun, 15 Sep 2013 19:48:43 +0000 (21:48 +0200)]
adder: Don't take channel mask in consideration in mono or stereo
This could cause negotiation to fail.
https://bugzilla.gnome.org/show_bug.cgi?id=708633
Matej Knopp [Fri, 27 Sep 2013 20:41:28 +0000 (22:41 +0200)]
audiorate: clip buffer before pushing it
https://bugzilla.gnome.org/show_bug.cgi?id=708953
Matej Knopp [Fri, 27 Sep 2013 20:40:28 +0000 (22:40 +0200)]
audio: change buffer timestamp when clipping even if data hasn't been trimmed
https://bugzilla.gnome.org/show_bug.cgi?id=708952
Matej Knopp [Fri, 27 Sep 2013 20:53:43 +0000 (22:53 +0200)]
pbutils: Add entry for text/x-raw
https://bugzilla.gnome.org/show_bug.cgi?id=708954
Matej Knopp [Wed, 25 Sep 2013 17:29:24 +0000 (19:29 +0200)]
pbutils: add MPEG 2 AAC description
https://bugzilla.gnome.org/show_bug.cgi?id=708773
Wim Taymans [Wed, 25 Sep 2013 13:17:32 +0000 (15:17 +0200)]
audiobasesink: do big correction for large drift
If we are using skew slaving and we drift more than twice the allowed amount, do
a big correction to get back on track more quickly.
Tim-Philipp Müller [Tue, 24 Sep 2013 17:28:57 +0000 (18:28 +0100)]
Automatic update of common submodule
From 6b03ba7 to 865aa20
Ognyan Tonchev [Tue, 24 Sep 2013 14:26:37 +0000 (16:26 +0200)]
rtspconnection: Unset input/output_stream after freeing the GIOStream
watch->input_stream and watch->output_stream are owned by the GIOStream
and should be unset after freeing the stream.
https://bugzilla.gnome.org/show_bug.cgi?id=708689
Sebastian Dröge [Tue, 24 Sep 2013 13:05:21 +0000 (15:05 +0200)]
configure: Actually use 1.3.0.1 as version to make configure happy