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
Mark Nauwelaerts [Mon, 16 Apr 2012 14:30:44 +0000 (16:30 +0200)]
oggmux: use standard collectpads event handling
... rather than (old) hacked overriding.
Mark Nauwelaerts [Mon, 16 Apr 2012 14:30:38 +0000 (16:30 +0200)]
adder: chain up to collectpads event handler
Matej Knopp [Mon, 16 Apr 2012 11:43:41 +0000 (13:43 +0200)]
decodebin: Do not block on sticky and oob events
Sebastian Dröge [Mon, 16 Apr 2012 07:08:59 +0000 (09:08 +0200)]
Automatic update of common submodule
From 6db25be to dc70203
Julian Scheel [Fri, 13 Apr 2012 14:29:50 +0000 (16:29 +0200)]
uridecodebin: Never treat live sources as streaming sources.
For streaming sources a queue is added before the demuxer, which can not be
properly filled by live sources. As http source can be live sources, this
caused issues for example with http live sources.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=674057
Sebastian Dröge [Mon, 16 Apr 2012 06:27:20 +0000 (08:27 +0200)]
decodebin2: Check that properties have the correct type before using them
Sebastian Dröge [Mon, 16 Apr 2012 06:24:58 +0000 (08:24 +0200)]
uridecodebin: Check that properties have the correct type before using them
Tim-Philipp Müller [Sun, 15 Apr 2012 21:46:26 +0000 (22:46 +0100)]
tests: fix navigation test linking
Tim-Philipp Müller [Sun, 15 Apr 2012 21:43:22 +0000 (22:43 +0100)]
pbutils: update for ogg media type changes
Tim-Philipp Müller [Sun, 15 Apr 2012 21:39:36 +0000 (22:39 +0100)]
ogg: update for media type typefinding changes
Tim-Philipp Müller [Sun, 15 Apr 2012 21:32:06 +0000 (22:32 +0100)]
typefinding: more fine-grained ogg typefinding
Typefind to audio/ogg, video/ogg, etc. Also change
application/x-annodex to application/annodex.
See http://wiki.xiph.org/MIME_Types_and_File_Extensions
Wim Taymans [Sat, 14 Apr 2012 09:26:28 +0000 (11:26 +0200)]
videofilter: shortcut transform_ip when not set
We can ask the base class to not call our transform_ip method when the subclass
didn't provide an in-place transform function.
Julian Scheel [Fri, 13 Apr 2012 14:29:50 +0000 (16:29 +0200)]
uridecodebin: Never treat live sources as streaming sources.
For streaming sources a queue is added before the demuxer, which can not be
properly filled by live sources. As http source can be live sources, this
caused issues for example with http live sources.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=674057
Víctor Manuel Jáquez Leal [Thu, 12 Apr 2012 19:13:08 +0000 (21:13 +0200)]
videopool: fix mem leak
When setting its config, the pool increase the ref count of the allocator, but
at finalize the ref count is also increased rather than decreased.
This one-liner patch changes the gst_allocator_ref() for gst_allocator_unref()
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=674011
Sebastian Dröge [Fri, 13 Apr 2012 12:32:28 +0000 (14:32 +0200)]
po: Remove deleted header file here too
Sebastian Dröge [Fri, 13 Apr 2012 12:09:47 +0000 (14:09 +0200)]
docs: Remove header file that was deleted
Sebastian Dröge [Fri, 13 Apr 2012 11:39:17 +0000 (13:39 +0200)]
configure: Modernize autotools setup a bit
Also we now only create tar.bz2 and tar.xz tarballs.
Sebastian Dröge [Fri, 13 Apr 2012 11:36:59 +0000 (13:36 +0200)]
Automatic update of common submodule
From 464fe15 to 6db25be
Sebastian Dröge [Fri, 13 Apr 2012 09:01:03 +0000 (11:01 +0200)]
gst-libs: Remove interfaces libs and mixer/tuner interfaces
The navigation interface is now in the video library.
Mark Nauwelaerts [Fri, 13 Apr 2012 10:21:05 +0000 (12:21 +0200)]
tests: videorate: remove obsolete color-matrix caps field
Reynaldo H. Verdejo Pinochet [Thu, 12 Apr 2012 22:20:58 +0000 (18:20 -0400)]
Sync Android.mk entries to the new major version
Change naming on the pkgconfig files to reflect
the 0.10 -> 1.0 bump.
Edward Hervey [Thu, 12 Apr 2012 13:06:15 +0000 (15:06 +0200)]
check: Fix one leak in volume test
Sebastian Dröge [Thu, 12 Apr 2012 09:18:44 +0000 (11:18 +0200)]
Back to development
Sebastian Dröge [Thu, 12 Apr 2012 08:16:03 +0000 (10:16 +0200)]
Release 0.11.90
Sebastian Dröge [Thu, 12 Apr 2012 08:11:49 +0000 (10:11 +0200)]
Update .po files
Mark Nauwelaerts [Wed, 11 Apr 2012 19:45:26 +0000 (21:45 +0200)]
tcp: update property documentation to reference correct property
Wim Taymans [Wed, 11 Apr 2012 15:40:04 +0000 (17:40 +0200)]
vorbisenc: fix channel mask
Wim Taymans [Wed, 11 Apr 2012 14:59:25 +0000 (16:59 +0200)]
tests: remove GstNetAddress
Really, really remove all mention of GstNetBuffer
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=673510
Alban Browaeys [Mon, 2 Apr 2012 06:59:58 +0000 (08:59 +0200)]
libs: Link against internal tag library
Sebastian Dröge [Wed, 11 Apr 2012 07:57:35 +0000 (09:57 +0200)]
audio: Remove obsolete FIXME 0.11