Tim-Philipp Müller [Sun, 13 May 2012 22:11:20 +0000 (23:11 +0100)]
oggdemux: fix potential crash in SEEKING query handler
Take chain lock when accessing chains. Fall back gracefully
when there's no current chain Hopefully fixes crash when
seeking in Jamendo or Magnatune streams in Amarok.
https://bugzilla.gnome.org/show_bug.cgi?id=675609
Tim-Philipp Müller [Sun, 13 May 2012 17:49:31 +0000 (18:49 +0100)]
typefinding, ogg: don't bother with annodex media types
They're hardly used, and probably more confusing than anything
else, and it's not clear that anyone would really need to be
able to tell them apart at the media type level.
Tim-Philipp Müller [Sat, 12 May 2012 13:36:09 +0000 (14:36 +0100)]
oggdemux: don't expose Annodex CMML streams any more
This never really took off - it's hardly used anywhere
and deprecated in favour of Kate. Exposing pads just
leads to confusing 'you are missing a plug-in' messages
when people come across such streams. We could still post
the data on the bus for applications to parse.
Tim-Philipp Müller [Sat, 12 May 2012 13:24:24 +0000 (14:24 +0100)]
oggdemux: update some comments that refer to internal decoders
We don't do that any more, we now have stream mappers for this.
Tim-Philipp Müller [Sat, 12 May 2012 13:22:23 +0000 (14:22 +0100)]
oggdemux: remove unused GstOggPadMode enum
Tim-Philipp Müller [Sun, 13 May 2012 16:10:57 +0000 (17:10 +0100)]
libvisual: include string.h for strcmp()
Sebastian Dröge [Sun, 13 May 2012 14:59:42 +0000 (16:59 +0200)]
Back to development
Sebastian Dröge [Sun, 13 May 2012 14:20:00 +0000 (16:20 +0200)]
Release 0.11.91
Sebastian Dröge [Sun, 13 May 2012 14:19:32 +0000 (16:19 +0200)]
Update .po files
Sebastian Dröge [Sun, 13 May 2012 13:55:54 +0000 (15:55 +0200)]
Automatic update of common submodule
From dc70203 to 3429ba6
Руслан Ижбулатов [Sat, 12 May 2012 12:24:09 +0000 (16:24 +0400)]
playsink: fix printf arguments in debug message
Vivia Nikolaidou [Fri, 11 May 2012 14:37:14 +0000 (17:37 +0300)]
discoverer: Ported fix for bug #673504 to 0.11
Vivia Nikolaidou [Thu, 10 May 2012 20:08:21 +0000 (23:08 +0300)]
discoverer: Wait until an update/filler newsegment event or buffer for subtitle streams
This makes sure that we wait until we received all tags for the
subtitle streams and have all information that is collected by
the discoverer.
Fixes bug #673504.
Wim Taymans [Fri, 11 May 2012 14:16:33 +0000 (16:16 +0200)]
uridecodebin: fix format strings
Wim Taymans [Fri, 11 May 2012 13:33:31 +0000 (15:33 +0200)]
decodebin2: fix format strings
Wim Taymans [Fri, 11 May 2012 07:26:47 +0000 (09:26 +0200)]
decodebin2: fix compilation
Thibault Saunier [Thu, 10 May 2012 17:15:26 +0000 (13:15 -0400)]
playback: Check type when setting "connection-speed" on unknown elements
Clamp the values if needed
Thibault Saunier [Thu, 10 May 2012 17:11:47 +0000 (13:11 -0400)]
decodebin2: Add a connection-speed property to set it on demuxers when needed
Proxy it from uridecodebin
Nicolas Dufresne [Thu, 3 May 2012 19:45:03 +0000 (15:45 -0400)]
video: Key unit event properties are optional
https://bugzilla.gnome.org/show_bug.cgi?id=675758
Edward Hervey [Wed, 9 May 2012 15:16:37 +0000 (17:16 +0200)]
win32: Update for new video enumtypes
Edward Hervey [Wed, 9 May 2012 15:16:19 +0000 (17:16 +0200)]
win32: Update manifest for removed interfaces library
Sebastian Dröge [Wed, 9 May 2012 10:03:26 +0000 (12:03 +0200)]
playsink: Initialize variable to silence wrong compiler warning
Sebastian Dröge [Wed, 9 May 2012 08:30:55 +0000 (10:30 +0200)]
playsink: Port changes to 0.11
Mark Nauwelaerts [Tue, 8 May 2012 13:42:02 +0000 (15:42 +0200)]
playbin2: properly reconfigure upon subsequent no-more-pads
... such as during switch in chained ogg.
Mark Nauwelaerts [Tue, 8 May 2012 15:35:45 +0000 (17:35 +0200)]
alsasink: really use local ringbuffer spec helper var and init it a bit more
... to avoid assertion failures
Conflicts:
ext/alsa/gstalsasink.c
Andoni Morales Alastruey [Fri, 27 Apr 2012 08:19:15 +0000 (10:19 +0200)]
alsasink: use the iec958 payloader to support non-payloaded input streams
Sebastian Rasmussen [Sat, 5 May 2012 22:26:20 +0000 (23:26 +0100)]
gst-libs: make pkg-config get path to pkg-config dirs from configure
When --with-pkg-config-path is supplied to configure this path is now
explicitly propagated to pkg-config.
https://bugzilla.gnome.org/show_bug.cgi?id=673377
Vivia Nikolaidou [Thu, 3 May 2012 15:07:37 +0000 (18:07 +0300)]
playback: Display subseconds as proper milliseconds instead of the last 2 digits of the milliseconds
Tim-Philipp Müller [Tue, 1 May 2012 22:09:22 +0000 (23:09 +0100)]
tests: update audiocdsrc test for stricter URI protocol checking incore
Sebastian Dröge [Tue, 1 May 2012 14:55:13 +0000 (16:55 +0200)]
videodecoder: Also change gst_video_decoder_get_oldest_frame() to return a new reference
Edward Hervey [Tue, 1 May 2012 14:12:40 +0000 (16:12 +0200)]
videoencoder: _get_oldest_frame: return a reference
Edward Hervey [Tue, 1 May 2012 14:11:58 +0000 (16:11 +0200)]
videoencoder: Add a reference to frame passed to subclass
We have one reference owned by the internal frame list and one reference
passed to the subclass.
Edward Hervey [Tue, 1 May 2012 14:09:12 +0000 (16:09 +0200)]
videodecoder: Add a reference to frame passed to subclass
We have one reference owned by the internal frame list and one reference
passed to the subclass.
Wim Taymans [Tue, 1 May 2012 13:35:47 +0000 (15:35 +0200)]
videodecoder: don't leak events
When need to push out all the previously received events, concatenate all the
events from the previous frames (instead of leaking the old ones)
Improve debugging a little
Conflicts:
gst-libs/gst/video/gstvideodecoder.c
Wim Taymans [Tue, 1 May 2012 12:46:06 +0000 (14:46 +0200)]
videodecoder: don't leak frames
Frames receive a refcount when added to the frames list so release that refcount
in gst_video_decoder_do_finish_frame(). Also release the ref on the frame
because gst_video_decoder_do_finish_frame() takes ownership of the passed frame.
Wim Taymans [Tue, 1 May 2012 12:45:46 +0000 (14:45 +0200)]
videodecoder: avoid double unlock
Sebastian Dröge [Tue, 1 May 2012 11:26:57 +0000 (13:26 +0200)]
theoradec: Correctly handle crop metadata and update for videodecoder API changes
Sebastian Dröge [Mon, 30 Apr 2012 11:06:26 +0000 (13:06 +0200)]
videotestsrc: Update for basesrc API changes
Sebastian Dröge [Thu, 26 Apr 2012 16:12:39 +0000 (18:12 +0200)]
videofilter: Use a GstVideoBufferPool if none was provided
Sebastian Dröge [Thu, 26 Apr 2012 16:11:08 +0000 (18:11 +0200)]
videodecoder: Do bufferpool configuration inside the default decide_allocation() implementation
This allows subclasses to override it, as is necessary for e.g. the
video-crop meta. It is now necessary that after decide_allocation()
there is always a allocator and a configured buffer pool inside the
query.
Wim Taymans [Fri, 27 Apr 2012 14:13:27 +0000 (16:13 +0200)]
playsink: make playsink reusable
The sinkpads are unblocked when going from PAUSED->READY, we need to block them
again when going READY->PAUSED. The blocking of the pad previously only happened
when it was freshly obtained with _request_pad or when the caps changed. If we
don't release the pad when going to READY it was previously never blocked again
causing not-linked errors.
Wim Taymans [Fri, 27 Apr 2012 10:54:15 +0000 (12:54 +0200)]
playsink: don't leak the colorbalance element
Tim-Philipp Müller [Sun, 29 Apr 2012 16:16:38 +0000 (17:16 +0100)]
tag: improve gobject-introspection annotations
Tim-Philipp Müller [Sat, 28 Apr 2012 18:16:52 +0000 (19:16 +0100)]
tests: fix libscpp compilation
Don't include marshaller headers that have gone away and/or
aren't public headers anyway so don't need to be tested for
C++ compiler compatibility.
Tim-Philipp Müller [Sat, 28 Apr 2012 14:56:25 +0000 (15:56 +0100)]
win32: add new video base class API to .def file
Fixes make check.
Tim-Philipp Müller [Sat, 28 Apr 2012 14:32:56 +0000 (15:32 +0100)]
pbutils: update descriptions for new webm/matroska media types
Tim-Philipp Müller [Sat, 28 Apr 2012 14:29:54 +0000 (15:29 +0100)]
typefinding: more fine-grained matroska/webm typefinding
Typefind to audio/x-matroska, video/x-matroska, audio/webm,
video/webm and video/x-matroska-3d.
http://www.webmproject.org/code/specs/container/#naming
http://matroska.org/technical/specs/notes.html
Mark Nauwelaerts [Wed, 25 Apr 2012 16:07:21 +0000 (18:07 +0200)]
gdppay: plug buffer leak
Stefan Sauer [Wed, 25 Apr 2012 16:43:59 +0000 (18:43 +0200)]
volume: add a control point for the test
Stefan Sauer [Wed, 25 Apr 2012 16:42:04 +0000 (18:42 +0200)]
volume: cast outputs to correct type before comparing
Sebastian Dröge [Wed, 25 Apr 2012 16:21:03 +0000 (18:21 +0200)]
video: Remove interlaced handling from the video base classes
This must be handled by the subclasses in 0.11 because interlacing
is much more complex now and can't be handled in a generic way.
Wim Taymans [Wed, 25 Apr 2012 13:27:04 +0000 (15:27 +0200)]
video: improve docs and design of multiview interlaced
Put fields of interlaced frames after eachother.
Improve the docs of the video interlaced enums.
Wim Taymans [Wed, 25 Apr 2012 12:44:33 +0000 (14:44 +0200)]
video: add fields interlacing enum
Add an enum and docs for the fields interlace mode.
Improve the video caps docs for the fields interlace mode.
Wim Taymans [Wed, 25 Apr 2012 08:39:16 +0000 (10:39 +0200)]
videodec: remove some FIXMEs
Sebastian Dröge [Wed, 25 Apr 2012 12:34:43 +0000 (14:34 +0200)]
theoradec: Unref state when we're done with it
Sebastian Dröge [Wed, 25 Apr 2012 11:52:51 +0000 (13:52 +0200)]
video: Fix latency query handling if the element's own max_latency is GST_CLOCK_TIME_NONE
Sebastian Dröge [Wed, 25 Apr 2012 11:46:00 +0000 (13:46 +0200)]
video: Only use the interlacing buffer flags if the caps specify interlaced video
Sebastian Dröge [Wed, 25 Apr 2012 11:44:30 +0000 (13:44 +0200)]
videoencoder: Proxy the interlaced buffer flags to the GstVideoCodecFrame
Sebastian Dröge [Wed, 25 Apr 2012 11:15:05 +0000 (13:15 +0200)]
theoradec: Update for video decoder API changes
And also improve the buffer pool handling.
Sebastian Dröge [Wed, 25 Apr 2012 10:43:28 +0000 (12:43 +0200)]
theoraenc: Update for video encoder API changes and propose video-meta for allocation
Sebastian Dröge [Wed, 25 Apr 2012 10:39:48 +0000 (12:39 +0200)]
videoencoder: Don't propose video-meta by default
Sebastian Dröge [Wed, 25 Apr 2012 10:37:39 +0000 (12:37 +0200)]
videodecoder: Change configure_buffer_pool() vfunc to decide_allocation() with same semantics as in basetransform
Stefan Sauer [Thu, 19 Apr 2012 12:41:40 +0000 (14:41 +0200)]
tests: initialize variables
Sebastian Dröge [Tue, 24 Apr 2012 20:42:59 +0000 (22:42 +0200)]
videoencoder: Add support for subclasses to propose allocation parameters
Sebastian Dröge [Tue, 24 Apr 2012 20:35:58 +0000 (22:35 +0200)]
theoradec: Use crop metadata if possible and refactor cropping code a bit
Sebastian Dröge [Tue, 24 Apr 2012 20:35:29 +0000 (22:35 +0200)]
videodecoder: Add support for subclasses to configure the buffer pool
Sebastian Dröge [Tue, 24 Apr 2012 20:05:53 +0000 (22:05 +0200)]
theoradec: Set some more information on the output caps
Sebastian Dröge [Tue, 24 Apr 2012 19:32:28 +0000 (21:32 +0200)]
theora: Port to 0.11 again with the new base classes
Sebastian Dröge [Tue, 24 Apr 2012 19:32:08 +0000 (21:32 +0200)]
video: Some porting bugfixes
Sebastian Dröge [Tue, 24 Apr 2012 18:04:48 +0000 (20:04 +0200)]
videodecoder: Add minimal support for buffer pools
Sebastian Dröge [Tue, 24 Apr 2012 17:51:30 +0000 (19:51 +0200)]
videodecoder: Require to chain up to the parent classes event functions
Sebastian Dröge [Tue, 24 Apr 2012 17:42:04 +0000 (19:42 +0200)]
videoencoder: Require to chain up to the parent's sink event functions
Sebastian Dröge [Tue, 24 Apr 2012 17:35:24 +0000 (19:35 +0200)]
video: Initial port of video base classes and related things to 0.11
Sebastian Dröge [Tue, 24 Apr 2012 16:16:27 +0000 (18:16 +0200)]
video: Remove custom marshallers
Sebastian Dröge [Tue, 24 Apr 2012 16:14:31 +0000 (18:14 +0200)]
Merge remote-tracking branch 'origin/0.10'
Video base classes and theora plugin still needs to be ported again
Conflicts:
docs/libs/gst-plugins-base-libs-docs.sgml
docs/libs/gst-plugins-base-libs-sections.txt
docs/libs/gst-plugins-base-libs.types
ext/theora/gsttheoradec.c
ext/theora/gsttheoradec.h
ext/theora/gsttheoraenc.c
ext/theora/gsttheoraenc.h
gst-libs/gst/video/Makefile.am
gst-libs/gst/video/video.c
gst-libs/gst/video/video.h
gst/playback/gsturidecodebin.c
tests/check/libs/video.c
tests/check/pipelines/theoraenc.c
win32/common/libgstvideo.def
Mark Nauwelaerts [Tue, 24 Apr 2012 14:34:33 +0000 (16:34 +0200)]
tcpclientsink: ensure proper cleanup upon startup error
Edward Hervey [Tue, 24 Apr 2012 14:38:31 +0000 (16:38 +0200)]
win32: Update .defs file
Edward Hervey [Tue, 24 Apr 2012 14:32:39 +0000 (16:32 +0200)]
tests: Remove theoraenc discont test
It should be fixed differently, see
https://bugzilla.gnome.org/show_bug.cgi?id=663262
Edward Hervey [Tue, 24 Apr 2012 13:27:25 +0000 (15:27 +0200)]
video: Fix gst_video_info_to_caps
And use the 0.10 caps style
Edward Hervey [Tue, 24 Apr 2012 13:07:31 +0000 (15:07 +0200)]
videodecoder: Detect buffers inputted with DTS
Some container formats (like AVI) set DTS on the buffers instead of
PTS.
We detect this by:
* detecting if input timestamps are non-increasing
* detecting if the order the frames come out is the same as the order
they were inputted (meaning the implementation is reordering frames).
If the decoder reorders frames, but input buffer timestamps were not
reordered, that means the buffers has DTS and not PTS as their timestamp.
If this is the case, we use set the PTS of the outgoing frames in the
same order as they were given to the decoder.
This fixes the issue for any decoder using this base class (yay).
Mark Nauwelaerts [Wed, 7 Mar 2012 11:22:14 +0000 (12:22 +0100)]
theora: Port to base video classes
FIXME : Don't forget to backport changes that happened to theoraenc
since April 2011
theoraenc: Don't create keyframe on time gap
There is no rational to do so, and also gst_video_encoder_set_discont() is
gone from base class.
Edward Hervey [Wed, 7 Mar 2012 09:18:49 +0000 (10:18 +0100)]
video: Base classes for video decoders and encoders
Edward Hervey [Tue, 24 Apr 2012 08:10:15 +0000 (10:10 +0200)]
video: Add gst_video_info_is_equal
Edward Hervey [Tue, 24 Apr 2012 08:09:57 +0000 (10:09 +0200)]
video: Add GST_VIDEO_FORMAT_ENCODED
Edward Hervey [Thu, 8 Mar 2012 11:58:03 +0000 (12:58 +0100)]
video: Backport GstVideoInfo/GstVideoFormatInfo from 0.11
Sebastian Dröge [Tue, 24 Apr 2012 08:13:08 +0000 (10:13 +0200)]
subparse: Allow newlines/whitespace at the beginning of subrip files
For example the Sintel subtitles have this and without this change
they're detected as text/plain and not usable as subtitles. The
parser itself already handles this just fine.
Sebastian Dröge [Tue, 24 Apr 2012 08:13:08 +0000 (10:13 +0200)]
subparse: Allow newlines/whitespace at the beginning of subrip files
For example the Sintel subtitles have this and without this change
they're detected as text/plain and not usable as subtitles. The
parser itself already handles this just fine.
Wim Taymans [Thu, 19 Apr 2012 12:14:35 +0000 (14:14 +0200)]
video: improve frame_flags
Rename the frame_flags to flags. Because they are flags on the frame object it
does not need the redundant frame_ prefix.
Change the order of the metadata constructor so that the flags come before the
format and dimension arguments.
Sebastian Dröge [Thu, 19 Apr 2012 10:13:03 +0000 (12:13 +0200)]
video: Update for libgstvideo API changes
Sebastian Dröge [Thu, 19 Apr 2012 10:03:19 +0000 (12:03 +0200)]
video: Clean up interlaced flags and enums
There's a new GstVideoFrameFlags enum now that contains the frame
specific flags only. GstVideoFlags does not contain the TFF/TFF/ONEFIELD
flags anymore because these are strictly frame specific.
Also add fallback to parse these fields from the GstBufferFlags in
gst_video_frame_map() if there's no GstVideoMeta attached to the buffer.
Alessandro Decina [Thu, 19 Apr 2012 03:45:40 +0000 (05:45 +0200)]
appsrc: reset is_eos flag after a succesful seek from _create
Alessandro Decina [Thu, 19 Apr 2012 03:45:40 +0000 (05:45 +0200)]
appsrc: reset is_eos flag after a succesful seek from _create
Sebastian Dröge [Tue, 17 Apr 2012 16:22:24 +0000 (18:22 +0200)]
discoverer: Fix another GstBuffer occurence to GstSample
Sebastian Dröge [Tue, 17 Apr 2012 15:31:24 +0000 (17:31 +0200)]
discoverer: Tags now contain GstSamples instead of GstBuffers
Mark Nauwelaerts [Tue, 17 Apr 2012 13:09:27 +0000 (15:09 +0200)]
collectpads2: rename to collectpads
Mark Nauwelaerts [Tue, 17 Apr 2012 11:48:19 +0000 (13:48 +0200)]
adder: correctly adjust to modified collectpads2 event handling
Akihiro Tsukada [Tue, 17 Apr 2012 07:54:09 +0000 (09:54 +0200)]
playbin2: Don't hold the playbin lock in the autoplug-continue callback
It's not necessary there as the group lock already protects everything
we access here and causes deadlocks in some cases.
Fixes bug #673708.
Akihiro Tsukada [Tue, 17 Apr 2012 07:54:09 +0000 (09:54 +0200)]
playbin2: Don't hold the playbin lock in the autoplug-continue callback
It's not necessary there as the group lock already protects everything
we access here and causes deadlocks in some cases.
Fixes bug #673708.
Mark Nauwelaerts [Mon, 16 Apr 2012 15:03:01 +0000 (17:03 +0200)]
Revert "tests: TEMP"
This reverts commit
e9fbabbb866e1eafa070c9cb07ac13ffa99a92bf.
Mark Nauwelaerts [Fri, 30 Mar 2012 14:56:16 +0000 (16:56 +0200)]
tests: TEMP