platform/upstream/gstreamer.git
12 years agoappsrc: remove filter argument from gst_app_src_get_caps()
Tim-Philipp Müller [Thu, 17 May 2012 21:04:24 +0000 (22:04 +0100)]
appsrc: remove filter argument from gst_app_src_get_caps()

Was presumably added by mistaken in the grand _get_caps()
conversion. Doesn't really make sense for a property accessor.

12 years agocdparanoiasrc: include stdio.h for SEEK_SET
Tim-Philipp Müller [Thu, 17 May 2012 15:38:58 +0000 (16:38 +0100)]
cdparanoiasrc: include stdio.h for SEEK_SET

https://bugzilla.gnome.org/show_bug.cgi?id=676255

12 years agovorbis: give libvorbis-based decoder and vorbisidec decoder different type names
Tim-Philipp Müller [Wed, 16 May 2012 14:10:41 +0000 (15:10 +0100)]
vorbis: give libvorbis-based decoder and vorbisidec decoder different type names

Should fix "cannot register existing type `GstVorbisDec'" criticals
when both libvorbis and vorbisidec are available.

https://bugzilla.gnome.org/show_bug.cgi?id=673333

12 years agovideo: Rename gst_video_codec_frame_set_hook() to gst_video_codec_frame_set_user_data()
Sebastian Dröge [Wed, 16 May 2012 11:46:57 +0000 (13:46 +0200)]
video: Rename gst_video_codec_frame_set_hook() to gst_video_codec_frame_set_user_data()

And also add a getter and allow to set NULL user_data but still call
the passed destroy notify.

12 years agodocs: fix up video decoder/encoder docs a bit
Tim-Philipp Müller [Wed, 16 May 2012 11:40:07 +0000 (12:40 +0100)]
docs: fix up video decoder/encoder docs a bit

Makes gtk-doc happy.

12 years agobuild: Make sure AC_INCLUDES_DEFAULT is used.
Idar Tollefsen [Sun, 1 Jan 2012 19:48:29 +0000 (20:48 +0100)]
build: Make sure AC_INCLUDES_DEFAULT is used.

Without using AC_INCLUDES_DEFAULT explicitly,
certain platforms will complain that the header
was found, but not usable by the compiler.
This happens for instance on Solaris where certain
headers are needed to pull in proper defines.

https://bugzilla.gnome.org/show_bug.cgi?id=667307

Conflicts:

configure.ac

12 years agoconfigure: Require core/base 0.11.91
Sebastian Dröge [Wed, 16 May 2012 07:12:44 +0000 (09:12 +0200)]
configure: Require core/base 0.11.91

12 years ago.gitignore: add visual studio IDE files and OS X .DS_Store files
Matej Knopp [Fri, 13 Jan 2012 22:58:37 +0000 (17:58 -0500)]
.gitignore: add visual studio IDE files and OS X .DS_Store files

https://bugzilla.gnome.org/show_bug.cgi?id=667899

12 years agoplaysink: do not abort if a property is not found.
Alban Browaeys [Mon, 14 May 2012 05:01:18 +0000 (07:01 +0200)]
playsink: do not abort if a property is not found.

If a property is not found (for example last-sample when
gst_debug_bin_to_dot_file is used while the pipeline is
slightly broken (thus no last-sample) the unref of the item
gvalue which is not refed fails. Only unref if it was found.

12 years agoplaysink: missing guard around gst pad add probe
Alban Browaeys [Mon, 14 May 2012 18:08:38 +0000 (20:08 +0200)]
playsink: missing guard around gst pad add probe

This miss prevent from switching from one track to the other.
Issue encountered with rhythmbox and totem ports.

12 years agotheoraenc: Don't leak incoming frames (and buffers)
Edward Hervey [Mon, 14 May 2012 15:53:59 +0000 (17:53 +0200)]
theoraenc: Don't leak incoming frames (and buffers)

We get given a reference in ::handle_frame(), remove it when we're done.

12 years agoplaybin2: default text element is now subtitleoverlay
Mark Nauwelaerts [Fri, 11 May 2012 08:58:45 +0000 (10:58 +0200)]
playbin2: default text element is now subtitleoverlay

... and not so much textoverlay, though the former also uses the latter.

12 years agooggdemux: fix potential crash in SEEKING query handler
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

12 years agotypefinding, ogg: don't bother with annodex media types
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.

12 years agooggdemux: don't expose Annodex CMML streams any more
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.

12 years agooggdemux: update some comments that refer to internal decoders
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.

12 years agooggdemux: remove unused GstOggPadMode enum
Tim-Philipp Müller [Sat, 12 May 2012 13:22:23 +0000 (14:22 +0100)]
oggdemux: remove unused GstOggPadMode enum

12 years agolibvisual: include string.h for strcmp()
Tim-Philipp Müller [Sun, 13 May 2012 16:10:57 +0000 (17:10 +0100)]
libvisual: include string.h for strcmp()

12 years agoBack to development
Sebastian Dröge [Sun, 13 May 2012 14:59:42 +0000 (16:59 +0200)]
Back to development

12 years agoRelease 0.11.91
Sebastian Dröge [Sun, 13 May 2012 14:20:00 +0000 (16:20 +0200)]
Release 0.11.91

12 years agoUpdate .po files
Sebastian Dröge [Sun, 13 May 2012 14:19:32 +0000 (16:19 +0200)]
Update .po files

12 years agoAutomatic update of common submodule
Sebastian Dröge [Sun, 13 May 2012 13:55:54 +0000 (15:55 +0200)]
Automatic update of common submodule

From dc70203 to 3429ba6

12 years agoplaysink: fix printf arguments in debug message
Руслан Ижбулатов [Sat, 12 May 2012 12:24:09 +0000 (16:24 +0400)]
playsink: fix printf arguments in debug message

12 years agodiscoverer: Ported fix for bug #673504 to 0.11
Vivia Nikolaidou [Fri, 11 May 2012 14:37:14 +0000 (17:37 +0300)]
discoverer: Ported fix for bug #673504 to 0.11

12 years agodiscoverer: Wait until an update/filler newsegment event or buffer for subtitle streams
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.

12 years agouridecodebin: fix format strings
Wim Taymans [Fri, 11 May 2012 14:16:33 +0000 (16:16 +0200)]
uridecodebin: fix format strings

12 years agodecodebin2: fix format strings
Wim Taymans [Fri, 11 May 2012 13:33:31 +0000 (15:33 +0200)]
decodebin2: fix format strings

12 years agodecodebin2: fix compilation
Wim Taymans [Fri, 11 May 2012 07:26:47 +0000 (09:26 +0200)]
decodebin2: fix compilation

12 years agoplayback: Check type when setting "connection-speed" on unknown elements
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

12 years agodecodebin2: Add a connection-speed property to set it on demuxers when 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

12 years agovideo: Key unit event properties are optional
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

12 years agowin32: Update for new video enumtypes
Edward Hervey [Wed, 9 May 2012 15:16:37 +0000 (17:16 +0200)]
win32: Update for new video enumtypes

12 years agowin32: Update manifest for removed interfaces library
Edward Hervey [Wed, 9 May 2012 15:16:19 +0000 (17:16 +0200)]
win32: Update manifest for removed interfaces library

12 years agoplaysink: Initialize variable to silence wrong compiler warning
Sebastian Dröge [Wed, 9 May 2012 10:03:26 +0000 (12:03 +0200)]
playsink: Initialize variable to silence wrong compiler warning

12 years agoplaysink: Port changes to 0.11
Sebastian Dröge [Wed, 9 May 2012 08:30:55 +0000 (10:30 +0200)]
playsink: Port changes to 0.11

12 years agoplaybin2: properly reconfigure upon subsequent no-more-pads
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.

12 years agoalsasink: really use local ringbuffer spec helper var and init it a bit more
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

12 years agoalsasink: use the iec958 payloader to support non-payloaded input streams
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

12 years agogst-libs: make pkg-config get path to pkg-config dirs from configure
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

12 years agoplayback: Display subseconds as proper milliseconds instead of the last 2 digits...
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

12 years agotests: update audiocdsrc test for stricter URI protocol checking incore
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

12 years agovideodecoder: Also change gst_video_decoder_get_oldest_frame() to return a new reference
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

12 years agovideoencoder: _get_oldest_frame: return a reference
Edward Hervey [Tue, 1 May 2012 14:12:40 +0000 (16:12 +0200)]
videoencoder: _get_oldest_frame: return a reference

12 years agovideoencoder: Add a reference to frame passed to subclass
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.

12 years agovideodecoder: Add a reference to frame passed to 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.

12 years agovideodecoder: don't leak events
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

12 years agovideodecoder: don't leak frames
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.

12 years agovideodecoder: avoid double unlock
Wim Taymans [Tue, 1 May 2012 12:45:46 +0000 (14:45 +0200)]
videodecoder: avoid double unlock

12 years agotheoradec: Correctly handle crop metadata and update for videodecoder API changes
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

12 years agovideotestsrc: Update for basesrc API changes
Sebastian Dröge [Mon, 30 Apr 2012 11:06:26 +0000 (13:06 +0200)]
videotestsrc: Update for basesrc API changes

12 years agovideofilter: Use a GstVideoBufferPool if none was provided
Sebastian Dröge [Thu, 26 Apr 2012 16:12:39 +0000 (18:12 +0200)]
videofilter: Use a GstVideoBufferPool if none was provided

12 years agovideodecoder: Do bufferpool configuration inside the default decide_allocation()...
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.

12 years agoplaysink: make playsink reusable
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.

12 years agoplaysink: don't leak the colorbalance element
Wim Taymans [Fri, 27 Apr 2012 10:54:15 +0000 (12:54 +0200)]
playsink: don't leak the colorbalance element

12 years agotag: improve gobject-introspection annotations
Tim-Philipp Müller [Sun, 29 Apr 2012 16:16:38 +0000 (17:16 +0100)]
tag: improve gobject-introspection annotations

12 years agotests: fix libscpp compilation
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.

12 years agowin32: add new video base class API to .def file
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.

12 years agopbutils: update descriptions for new webm/matroska media types
Tim-Philipp Müller [Sat, 28 Apr 2012 14:32:56 +0000 (15:32 +0100)]
pbutils: update descriptions for new webm/matroska media types

12 years agotypefinding: more fine-grained matroska/webm typefinding
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

12 years agogdppay: plug buffer leak
Mark Nauwelaerts [Wed, 25 Apr 2012 16:07:21 +0000 (18:07 +0200)]
gdppay: plug buffer leak

12 years agovolume: add a control point for the test
Stefan Sauer [Wed, 25 Apr 2012 16:43:59 +0000 (18:43 +0200)]
volume: add a control point for the test

12 years agovolume: cast outputs to correct type before comparing
Stefan Sauer [Wed, 25 Apr 2012 16:42:04 +0000 (18:42 +0200)]
volume: cast outputs to correct type before comparing

12 years agovideo: Remove interlaced handling from the video base classes
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.

12 years agovideo: improve docs and design of multiview interlaced
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.

12 years agovideo: add fields interlacing enum
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.

12 years agovideodec: remove some FIXMEs
Wim Taymans [Wed, 25 Apr 2012 08:39:16 +0000 (10:39 +0200)]
videodec: remove some FIXMEs

12 years agotheoradec: Unref state when we're done with it
Sebastian Dröge [Wed, 25 Apr 2012 12:34:43 +0000 (14:34 +0200)]
theoradec: Unref state when we're done with it

12 years agovideo: Fix latency query handling if the element's own max_latency is GST_CLOCK_TIME_NONE
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

12 years agovideo: Only use the interlacing buffer flags if the caps specify interlaced video
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

12 years agovideoencoder: Proxy the interlaced buffer flags to the GstVideoCodecFrame
Sebastian Dröge [Wed, 25 Apr 2012 11:44:30 +0000 (13:44 +0200)]
videoencoder: Proxy the interlaced buffer flags to the GstVideoCodecFrame

12 years agotheoradec: Update for video decoder API changes
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.

12 years agotheoraenc: Update for video encoder API changes and propose video-meta for allocation
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

12 years agovideoencoder: Don't propose video-meta by default
Sebastian Dröge [Wed, 25 Apr 2012 10:39:48 +0000 (12:39 +0200)]
videoencoder: Don't propose video-meta by default

12 years agovideodecoder: Change configure_buffer_pool() vfunc to decide_allocation() with same...
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

12 years agotests: initialize variables
Stefan Sauer [Thu, 19 Apr 2012 12:41:40 +0000 (14:41 +0200)]
tests: initialize variables

12 years agovideoencoder: Add support for subclasses to propose allocation parameters
Sebastian Dröge [Tue, 24 Apr 2012 20:42:59 +0000 (22:42 +0200)]
videoencoder: Add support for subclasses to propose allocation parameters

12 years agotheoradec: Use crop metadata if possible and refactor cropping code a bit
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

12 years agovideodecoder: Add support for subclasses to configure the buffer pool
Sebastian Dröge [Tue, 24 Apr 2012 20:35:29 +0000 (22:35 +0200)]
videodecoder: Add support for subclasses to configure the buffer pool

12 years agotheoradec: Set some more information on the output caps
Sebastian Dröge [Tue, 24 Apr 2012 20:05:53 +0000 (22:05 +0200)]
theoradec: Set some more information on the output caps

12 years agotheora: Port to 0.11 again with the new base classes
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

12 years agovideo: Some porting bugfixes
Sebastian Dröge [Tue, 24 Apr 2012 19:32:08 +0000 (21:32 +0200)]
video: Some porting bugfixes

12 years agovideodecoder: Add minimal support for buffer pools
Sebastian Dröge [Tue, 24 Apr 2012 18:04:48 +0000 (20:04 +0200)]
videodecoder: Add minimal support for buffer pools

12 years agovideodecoder: Require to chain up to the parent classes event functions
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

12 years agovideoencoder: Require to chain up to the parent's sink 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

12 years agovideo: Initial port of video base classes and related things to 0.11
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

12 years agovideo: Remove custom marshallers
Sebastian Dröge [Tue, 24 Apr 2012 16:16:27 +0000 (18:16 +0200)]
video: Remove custom marshallers

12 years agoMerge remote-tracking branch 'origin/0.10'
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

12 years agotcpclientsink: ensure proper cleanup upon startup error
Mark Nauwelaerts [Tue, 24 Apr 2012 14:34:33 +0000 (16:34 +0200)]
tcpclientsink: ensure proper cleanup upon startup error

12 years agowin32: Update .defs file
Edward Hervey [Tue, 24 Apr 2012 14:38:31 +0000 (16:38 +0200)]
win32: Update .defs file

12 years agotests: Remove theoraenc discont test
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

12 years agovideo: Fix gst_video_info_to_caps
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

12 years agovideodecoder: Detect buffers inputted with DTS
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).

12 years agotheora: Port to base video classes
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.

12 years agovideo: Base classes for video decoders and encoders
Edward Hervey [Wed, 7 Mar 2012 09:18:49 +0000 (10:18 +0100)]
video: Base classes for video decoders and encoders

12 years agovideo: Add gst_video_info_is_equal
Edward Hervey [Tue, 24 Apr 2012 08:10:15 +0000 (10:10 +0200)]
video: Add gst_video_info_is_equal

12 years agovideo: Add GST_VIDEO_FORMAT_ENCODED
Edward Hervey [Tue, 24 Apr 2012 08:09:57 +0000 (10:09 +0200)]
video: Add GST_VIDEO_FORMAT_ENCODED

12 years agovideo: Backport GstVideoInfo/GstVideoFormatInfo from 0.11
Edward Hervey [Thu, 8 Mar 2012 11:58:03 +0000 (12:58 +0100)]
video: Backport GstVideoInfo/GstVideoFormatInfo from 0.11

12 years agosubparse: Allow newlines/whitespace at the beginning of subrip files
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.

12 years agosubparse: Allow newlines/whitespace at the beginning of subrip files
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.

12 years agovideo: improve frame_flags
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.