platform/upstream/gst-plugins-bad.git
12 years agoRelease 1.0.7 sandbox/pcoval/upstream 1.0.7
Sebastian Dröge [Fri, 26 Apr 2013 11:25:22 +0000 (13:25 +0200)]
Release 1.0.7

12 years agoUpdate .po files
Sebastian Dröge [Fri, 26 Apr 2013 11:25:17 +0000 (13:25 +0200)]
Update .po files

12 years agovideoparsers: preserve upstream fps and par
Mark Nauwelaerts [Thu, 25 Oct 2012 09:31:41 +0000 (11:31 +0200)]
videoparsers: preserve upstream fps and par

includes fix-up commit 58441bf2.

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

12 years agoconfigure: The quicktime wrapper plugin is not ported yet either
Sebastian Dröge [Thu, 18 Apr 2013 07:08:01 +0000 (09:08 +0200)]
configure: The quicktime wrapper plugin is not ported yet either

12 years agoconfigure: The osxvideosrc plugin is called osx_video
Sebastian Dröge [Thu, 18 Apr 2013 06:57:21 +0000 (08:57 +0200)]
configure: The osxvideosrc plugin is called osx_video

12 years agoosxvideosrc: It's not ported to 1.0 yet
Sebastian Dröge [Thu, 18 Apr 2013 05:54:38 +0000 (07:54 +0200)]
osxvideosrc: It's not ported to 1.0 yet

Conflicts:
configure.ac

12 years agoeglglessink: Print EGL/GLES extensions after we are actually initialized enough
Sebastian Dröge [Tue, 16 Apr 2013 14:30:08 +0000 (16:30 +0200)]
eglglessink: Print EGL/GLES extensions after we are actually initialized enough

12 years agoamcaudiodec: Properly set output format instead of just setting caps
Sebastian Dröge [Tue, 16 Apr 2013 14:23:46 +0000 (16:23 +0200)]
amcaudiodec: Properly set output format instead of just setting caps

12 years agoandroidmedia: Set parent class in class_init
Sebastian Dröge [Tue, 16 Apr 2013 14:17:50 +0000 (16:17 +0200)]
androidmedia: Set parent class in class_init

12 years agoandroidmedia: Handle refcounts of pad templates correctly
Sebastian Dröge [Tue, 16 Apr 2013 14:00:30 +0000 (16:00 +0200)]
androidmedia: Handle refcounts of pad templates correctly

gst_pad_template_new() does not take ownership of caps anymore and
gst_element_class_add_pad_template() does take ownership of the
pad template now.

12 years agoamcaudiodec: Use 1.0-style raw audio caps
Sebastian Dröge [Tue, 16 Apr 2013 13:32:01 +0000 (15:32 +0200)]
amcaudiodec: Use 1.0-style raw audio caps

12 years agoandroidmedia: Properly set subclasses metadata/pad templates in base_init
Sebastian Dröge [Tue, 16 Apr 2013 13:31:34 +0000 (15:31 +0200)]
androidmedia: Properly set subclasses metadata/pad templates in base_init

12 years agoamcvideodec: Fix refcount problem with frames being dropped because of decoder bugs
Sebastian Dröge [Mon, 12 Nov 2012 13:56:25 +0000 (14:56 +0100)]
amcvideodec: Fix refcount problem with frames being dropped because of decoder bugs

12 years agoandroidmedia: Update to new GLib thread API
Sebastian Dröge [Mon, 12 Nov 2012 10:32:44 +0000 (11:32 +0100)]
androidmedia: Update to new GLib thread API

12 years agoandroidmedia: Skip Aricent codecs for now
Sebastian Dröge [Wed, 31 Oct 2012 19:00:54 +0000 (20:00 +0100)]
androidmedia: Skip Aricent codecs for now

The HTC One X claims to have one (but doesn't) and loading
the library for it hangs forever.

12 years agoandroidmedia: Remember and use input state
Sebastian Dröge [Mon, 22 Oct 2012 11:21:12 +0000 (13:21 +0200)]
androidmedia: Remember and use input state

12 years agoandroidmedia: Port to 1.0
Sebastian Dröge [Thu, 18 Oct 2012 14:41:07 +0000 (16:41 +0200)]
androidmedia: Port to 1.0

12 years agogst: Add better support for static plugins
Sebastian Dröge [Wed, 24 Oct 2012 10:16:39 +0000 (12:16 +0200)]
gst: Add better support for static plugins

Conflicts:
ext/fluidsynth/Makefile.am
ext/openjpeg/Makefile.am
ext/sbc/Makefile.am
ext/srtp/Makefile.am
gst/accurip/Makefile.am
gst/ivtc/Makefile.am
gst/midi/Makefile.am
gst/yadif/Makefile.am
sys/bluez/Makefile.am
sys/d3dvideosink/Makefile.am
sys/directdraw/Makefile.am
sys/directsound/Makefile.am
sys/mfc/Makefile.am
sys/wasapi/Makefile.am
sys/winks/Makefile.am

12 years agojpegparse: accept any jpeg input - parsed, unparsed or unmarked
Alexander Olsson [Fri, 12 Apr 2013 15:01:38 +0000 (17:01 +0200)]
jpegparse: accept any jpeg input - parsed, unparsed or unmarked

The src element may not include information about whether
the data is parsed or not. Hence do not require parsed=false.

Fixes multipartdemux ! jpegparse ! ...

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

12 years agotsparse: Ensure segment events are forwarded
Edward Hervey [Sat, 30 Mar 2013 12:39:49 +0000 (13:39 +0100)]
tsparse: Ensure segment events are forwarded

We skip them for tsdemux though (recreated later)

Fixes #690949

12 years agodvbsrc: We output time segments
Edward Hervey [Sat, 30 Mar 2013 12:40:21 +0000 (13:40 +0100)]
dvbsrc: We output time segments

Fixes #690949

12 years agompegpsdemux: push stream start event
Wim Taymans [Sat, 30 Mar 2013 09:25:24 +0000 (10:25 +0100)]
mpegpsdemux: push stream start event

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

12 years agoshm: Make sure the zero-sized array is always last in the struct
Olivier Crête [Thu, 28 Mar 2013 18:36:16 +0000 (14:36 -0400)]
shm: Make sure the zero-sized array is always last in the struct

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

12 years agointerlaced: set both DTS and PTS
Wim Taymans [Mon, 25 Mar 2013 09:10:28 +0000 (10:10 +0100)]
interlaced: set both DTS and PTS

Handle both dts and pts on output buffers.

12 years agoy4mdec: fix build against -base 1.0.x
Tim-Philipp Müller [Fri, 22 Mar 2013 19:45:44 +0000 (19:45 +0000)]
y4mdec: fix build against -base 1.0.x

The libs in the 1.0 branch don't have single global includes.

12 years agorawparse: send segment event in time format also in push mode
Tim-Philipp Müller [Fri, 22 Mar 2013 19:40:58 +0000 (19:40 +0000)]
rawparse: send segment event in time format also in push mode

When converting the incoming segment from byte to time format,
don't just convert the start/stop/time values, but also change
the segment format to TIME.

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

12 years agoy4mdec: Use the correct strides as used by y4m and convert to GStreamer strides if...
Sebastian Dröge [Fri, 22 Mar 2013 14:49:18 +0000 (15:49 +0100)]
y4mdec: Use the correct strides as used by y4m and convert to GStreamer strides if necessary

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

12 years agoy4mdec: Use the default event/query handlers for the default handling
Sebastian Dröge [Fri, 22 Mar 2013 13:52:54 +0000 (14:52 +0100)]
y4mdec: Use the default event/query handlers for the default handling

Especially don't forward caps events from the sinkpad to the srcpad.

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

12 years agoy4mdec: Properly handle segment and time values of -1
Sebastian Dröge [Fri, 22 Mar 2013 13:37:37 +0000 (14:37 +0100)]
y4mdec: Properly handle segment and time values of -1

12 years agoRelease 1.0.6 1.0.6
Tim-Philipp Müller [Fri, 22 Mar 2013 14:12:28 +0000 (14:12 +0000)]
Release 1.0.6

12 years agodecklinksink: fix some compiler warnings
Tim-Philipp Müller [Wed, 20 Mar 2013 10:49:04 +0000 (10:49 +0000)]
decklinksink: fix some compiler warnings

12 years agodecklinksink: obtain class from object
Mark Nauwelaerts [Mon, 18 Mar 2013 20:12:00 +0000 (21:12 +0100)]
decklinksink: obtain class from object

12 years agodecklinksrc: pause streaming thread and send EOS event on error
Tim-Philipp Müller [Sat, 16 Mar 2013 21:34:57 +0000 (21:34 +0000)]
decklinksrc: pause streaming thread and send EOS event on error

Instead of just posting an EOS message and continuing,
actually pause the thread.

12 years agoconfigure: Mark decklink as ported
David Schleef [Sat, 16 Mar 2013 03:21:47 +0000 (20:21 -0700)]
configure: Mark decklink as ported

12 years agodecklinksink: port to 1.0
Tim-Philipp Müller [Thu, 28 Feb 2013 18:54:15 +0000 (18:54 +0000)]
decklinksink: port to 1.0

Compiles, not tested yet.

12 years agodecklinksrc: add layout=interleaved to audio caps
Tim-Philipp Müller [Thu, 28 Feb 2013 18:53:54 +0000 (18:53 +0000)]
decklinksrc: add layout=interleaved to audio caps

12 years agodecklinksrc: port to 1.0
Tim-Philipp Müller [Wed, 27 Feb 2013 23:27:20 +0000 (23:27 +0000)]
decklinksrc: port to 1.0

Compiles, not tested yet. A great number of superfluous custom
pad functions may have been harmed in the making of this port.

12 years agoopensles: Include string.h for memcpy()
Sebastian Dröge [Thu, 21 Mar 2013 14:43:12 +0000 (15:43 +0100)]
opensles: Include string.h for memcpy()

12 years agoeglglessink: Make more similar to latest master
Sebastian Dröge [Thu, 21 Mar 2013 10:10:08 +0000 (11:10 +0100)]
eglglessink: Make more similar to latest master

12 years agoconfigure: Backport improved EGL configure checks
Sebastian Dröge [Thu, 21 Mar 2013 09:26:35 +0000 (10:26 +0100)]
configure: Backport improved EGL configure checks

12 years agoeglglessink: Add RGBA to the caps again
Sebastian Dröge [Wed, 13 Mar 2013 10:09:36 +0000 (11:09 +0100)]
eglglessink: Add RGBA to the caps again

12 years agoeglglessink: Always use an RGBA configuration
Sebastian Dröge [Tue, 5 Mar 2013 11:47:07 +0000 (12:47 +0100)]
eglglessink: Always use an RGBA configuration

Conflicts:
ext/eglgles/gsteglglessink.c

12 years agoeglglessink: Fix compiler warning on RPi
Sebastian Dröge [Fri, 22 Feb 2013 09:58:19 +0000 (10:58 +0100)]
eglglessink: Fix compiler warning on RPi

Conflicts:
ext/eglgles/gsteglglessink.c

12 years agoeglglessink: gst_video_sink_center_rect() takes the structs itself instead of pointer...
Sebastian Dröge [Thu, 28 Feb 2013 11:04:50 +0000 (12:04 +0100)]
eglglessink: gst_video_sink_center_rect() takes the structs itself instead of pointers as first parameters

12 years agoeglglessink: Fix aspect-ratio issues caused by scaling on RPi
Sebastian Dröge [Thu, 28 Feb 2013 10:27:44 +0000 (11:27 +0100)]
eglglessink: Fix aspect-ratio issues caused by scaling on RPi

Conflicts:
ext/eglgles/video_platform_wrapper.c

12 years agoeglglessink: Close the dispman display on RPi after usage
Sebastian Dröge [Wed, 13 Feb 2013 14:20:39 +0000 (15:20 +0100)]
eglglessink: Close the dispman display on RPi after usage

12 years agoeglglessink: For RPi, initialize bcm_host in plugin_init()
Sebastian Dröge [Wed, 13 Feb 2013 14:09:35 +0000 (15:09 +0100)]
eglglessink: For RPi, initialize bcm_host in plugin_init()

12 years agoeglglessink: Add bcm/Raspberry Pi support.
Julian Scheel [Tue, 12 Feb 2013 17:36:10 +0000 (18:36 +0100)]
eglglessink: Add bcm/Raspberry Pi support.

This adds a video platform backend for the dispmanx display manager used by
broadcom and the Raspberry Pi.

Signed-off-by: Julian Scheel <julian@jusst.de>
Conflicts:
ext/eglgles/video_platform_wrapper.c

12 years agoeglglessink: Add configure parameter to chose the EGL window system
Sebastian Dröge [Thu, 27 Dec 2012 09:51:02 +0000 (10:51 +0100)]
eglglessink: Add configure parameter to chose the EGL window system

Only needed for creating native windows.

12 years agoeglglessink: Remove packed YUV support
Sebastian Dröge [Wed, 2 Jan 2013 15:10:20 +0000 (16:10 +0100)]
eglglessink: Remove packed YUV support

This will not allow zero-copy because the same
EGLImage would need to be used for two different
textures with a different format.

Conflicts:
ext/eglgles/gsteglglessink.c

12 years agoeglglessink: Downgrade a GST_ERROR to a GST_DEBUG
Sebastian Dröge [Mon, 31 Dec 2012 10:38:23 +0000 (11:38 +0100)]
eglglessink: Downgrade a GST_ERROR to a GST_DEBUG

12 years agoeglglessink: Make last_flow handling more threadsafe
Sebastian Dröge [Sun, 30 Dec 2012 13:22:43 +0000 (14:22 +0100)]
eglglessink: Make last_flow handling more threadsafe

Conflicts:
ext/eglgles/gsteglglessink.c

12 years agoeglglessink: Fix indention
Sebastian Dröge [Sun, 30 Dec 2012 10:32:29 +0000 (11:32 +0100)]
eglglessink: Fix indention

12 years agoeglglessink: Return the last_flow immediately if it wasn't GST_FLOW_OK
Sebastian Dröge [Sun, 30 Dec 2012 10:32:02 +0000 (11:32 +0100)]
eglglessink: Return the last_flow immediately if it wasn't GST_FLOW_OK

12 years agoeglglessink: Fix copy&paste mistake
Sebastian Dröge [Sun, 30 Dec 2012 10:29:49 +0000 (11:29 +0100)]
eglglessink: Fix copy&paste mistake

12 years agoeglglessink: Improve EGL/GL error handling a bit
Sebastian Dröge [Sun, 30 Dec 2012 09:45:57 +0000 (10:45 +0100)]
eglglessink: Improve EGL/GL error handling a bit

12 years agoeglglessink: Don't access the video frame data if not necessary
Sebastian Dröge [Sun, 30 Dec 2012 09:43:33 +0000 (10:43 +0100)]
eglglessink: Don't access the video frame data if not necessary

12 years agoeglglessink: Configure caps from the setcaps function already
Sebastian Dröge [Sun, 30 Dec 2012 09:18:05 +0000 (10:18 +0100)]
eglglessink: Configure caps from the setcaps function already

12 years agoeglglessink: Some refactoring as preparation for platform specific rendering
Sebastian Dröge [Fri, 28 Dec 2012 13:05:56 +0000 (14:05 +0100)]
eglglessink: Some refactoring as preparation for platform specific rendering

12 years agoeglglessink: Bind the OpenGL ES API in the render thread too
Sebastian Dröge [Fri, 28 Dec 2012 18:36:30 +0000 (19:36 +0100)]
eglglessink: Bind the OpenGL ES API in the render thread too

12 years agoeglglessink: Add some more comments
Sebastian Dröge [Fri, 28 Dec 2012 12:08:12 +0000 (13:08 +0100)]
eglglessink: Add some more comments

12 years agoeglglessink: Only use the GstVideoFrame if we have a buffer
Sebastian Dröge [Fri, 28 Dec 2012 11:40:14 +0000 (12:40 +0100)]
eglglessink: Only use the GstVideoFrame if we have a buffer

12 years agoeglglessink: Add support for Mali fbdev EGL driver
Sebastian Dröge [Wed, 26 Dec 2012 16:35:46 +0000 (17:35 +0100)]
eglglessink: Add support for Mali fbdev EGL driver

12 years agoeglglessink: Add support for video meta and arbitrary strides
Sebastian Dröge [Wed, 26 Dec 2012 16:25:36 +0000 (17:25 +0100)]
eglglessink: Add support for video meta and arbitrary strides

12 years agoeglglessink: Fix width/height swap in last commit
Sebastian Dröge [Wed, 26 Dec 2012 14:58:55 +0000 (15:58 +0100)]
eglglessink: Fix width/height swap in last commit

12 years agoeglglessink: Remove debug function call from previous commit
Sebastian Dröge [Wed, 26 Dec 2012 14:46:40 +0000 (15:46 +0100)]
eglglessink: Remove debug function call from previous commit

12 years agoeglglessink: Fix handling of GstVideoOverlay::set_render_rect() and crop metadata
Sebastian Dröge [Wed, 26 Dec 2012 13:39:03 +0000 (14:39 +0100)]
eglglessink: Fix handling of GstVideoOverlay::set_render_rect() and crop metadata

12 years agoeglglessink: Add a cast from EGLNativeWindowType to Window to fix a compiler warning
Sebastian Dröge [Wed, 26 Dec 2012 09:54:38 +0000 (10:54 +0100)]
eglglessink: Add a cast from EGLNativeWindowType to Window to fix a compiler warning

12 years agoeglglessink: Fix a crash on GstVideoOverlay::expose()
Sebastian Dröge [Wed, 26 Dec 2012 09:39:52 +0000 (10:39 +0100)]
eglglessink: Fix a crash on GstVideoOverlay::expose()

12 years agoeglglessink: Fix crash when closing internal X11 window
Sebastian Dröge [Wed, 26 Dec 2012 09:34:21 +0000 (10:34 +0100)]
eglglessink: Fix crash when closing internal X11 window

12 years agoeglglessink: Add proper check for X11
Sebastian Dröge [Wed, 26 Dec 2012 09:20:21 +0000 (10:20 +0100)]
eglglessink: Add proper check for X11

12 years agoeglglessink: Use more constants instead of hardcoding values
Sebastian Dröge [Fri, 2 Nov 2012 10:29:54 +0000 (11:29 +0100)]
eglglessink: Use more constants instead of hardcoding values

12 years agoeglglessink: Post stream-status messages for our render thread
Sebastian Dröge [Thu, 1 Nov 2012 12:51:09 +0000 (13:51 +0100)]
eglglessink: Post stream-status messages for our render thread

12 years agoeglglessink: If pushing an item on the queue fails, free it
Sebastian Dröge [Wed, 31 Oct 2012 12:54:28 +0000 (13:54 +0100)]
eglglessink: If pushing an item on the queue fails, free it

Otherwise we're going to leak the item.

12 years agoeglglessink: Stop using deprecated GLib thread API
Sebastian Dröge [Thu, 25 Oct 2012 12:28:49 +0000 (14:28 +0200)]
eglglessink: Stop using deprecated GLib thread API

12 years agoeglglessink: Add support for crop metadata
Sebastian Dröge [Mon, 22 Oct 2012 09:41:44 +0000 (11:41 +0200)]
eglglessink: Add support for crop metadata

12 years agoeglglessink: Port to 1.0
Sebastian Dröge [Mon, 22 Oct 2012 09:18:39 +0000 (11:18 +0200)]
eglglessink: Port to 1.0

12 years agoopensles: Fix compilation with debugging enabled
Sebastian Dröge [Fri, 2 Nov 2012 10:24:37 +0000 (11:24 +0100)]
opensles: Fix compilation with debugging enabled

12 years agoopensles: Remove unused variable
Sebastian Dröge [Thu, 1 Nov 2012 14:36:10 +0000 (15:36 +0100)]
opensles: Remove unused variable

12 years agoopensles: Make sure to only ever create a single engine object
Sebastian Dröge [Thu, 1 Nov 2012 14:35:17 +0000 (15:35 +0100)]
opensles: Make sure to only ever create a single engine object

The OpenSL ES spec defines:

An implementation shall enable creation of at least one such object, but
attempting to create more instances (either by a single application or by
several different applications) may fail.

12 years agoopensles: Port to 1.0
Sebastian Dröge [Thu, 18 Oct 2012 14:23:49 +0000 (16:23 +0200)]
opensles: Port to 1.0

12 years agoaudiovisualizer: fix improper video frame clear operation
Greg Rutz [Tue, 12 Mar 2013 03:55:28 +0000 (21:55 -0600)]
audiovisualizer: fix improper video frame clear operation

The current code is memsetting the GstVideoFrame.data address to 0s (which
causes a segfault). This member is actually an array of data buffers (one for
each plane).  This fix iterates over each data plane to clear them all.

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

12 years agoopusdec: clear the state of the decoder
Wim Taymans [Mon, 11 Feb 2013 10:06:32 +0000 (11:06 +0100)]
opusdec: clear the state of the decoder

Set the channels and rate back to their default values in _stop because they
are used to renegotiate when needed.

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

12 years agogdppay: fix buffer leak when new caps are same as old caps
Tim 'mithro' Ansell [Thu, 7 Feb 2013 13:06:16 +0000 (00:06 +1100)]
gdppay: fix buffer leak when new caps are same as old caps

The leak occurs when you got a message with identical caps to the ones you
already had.

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

12 years agodvdspu: Fix the rendering of PGS windows with left != 0
Jan Schmidt [Thu, 7 Feb 2013 11:26:15 +0000 (22:26 +1100)]
dvdspu: Fix the rendering of PGS windows with left != 0

When rendering a PGS window area where the left edge is not at
pixel 0, the chroma was being rendered in the wrong place since
commit 4dc648d3430b67592cf1413ccef415f70889d71e

12 years agointer: fix leaks in test
Tim Ansell [Thu, 7 Feb 2013 11:31:12 +0000 (11:31 +0000)]
inter: fix leaks in test

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

12 years agointerlace: fix negotiation for true interlaced modes
David Schleef [Wed, 6 Feb 2013 23:48:06 +0000 (15:48 -0800)]
interlace: fix negotiation for true interlaced modes

12 years agoelement-maker: Update somewhat for 1.0
David Schleef [Wed, 6 Feb 2013 20:35:36 +0000 (12:35 -0800)]
element-maker: Update somewhat for 1.0

Only converted basetransform for the moment.  It's probably easier
to write templates from scratch from the documentation.

12 years agocodecparsers: mpeg2: add helpers to convert quantization matrices.
Gwenole Beauchesne [Tue, 5 Feb 2013 10:56:46 +0000 (11:56 +0100)]
codecparsers: mpeg2: add helpers to convert quantization matrices.

Add utility functions to convert quantization matrices from zigzag scan
order (as encoded in the bitstream) into raster scan order. Also provide
another function to reverse the operation.

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

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
(cherry picked from commit 250555a7dec8f1a396a20994d28395249eb406d7)

12 years agocodecparsers: mpeg2: store quantization matrices in zigzag scan order.
Cong Zhong [Thu, 31 Jan 2013 08:13:22 +0000 (16:13 +0800)]
codecparsers: mpeg2: store quantization matrices in zigzag scan order.

Quantizer matrices are encoded in zigzag scan order in the bitstream,
but they are stored in raster scan order when they are parsed. However,
default matrices were also prepared in zigzag scan order, hence the
mismatch. i.e. the matrices were presented either in raster scan order
if they are explicitly present in the bitstream, or they were presented
in zigzag scan order if the default definitions were to be used instead.

One way to solve this problem is to always expose the quantization
matrices in zigzag scan order, since this is the role of the parser to
not build up stories from the source bitstream and just present what
is in there.

Utility functions will be provided to convert quantization matrices in
either scan order.

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

Signed-off-by: Cong Zhong <congx.zhong@intel.com>
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
(cherry picked from commit 46c01de05dbb50c74aca137298da5b3d16918034)

12 years agotsdemux: expose VC1 streams with missing descriptor.
Josep Torra [Tue, 5 Feb 2013 22:07:12 +0000 (23:07 +0100)]
tsdemux: expose VC1 streams with missing descriptor.

Fixes playback of VC1 streams when the descriptor is missing.

12 years agodvbsrc: handle EINTR from poll
Wim Taymans [Tue, 5 Feb 2013 16:34:28 +0000 (17:34 +0100)]
dvbsrc: handle EINTR from poll

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

12 years agocodecparsers: vc1: fix bitplanes decoding (DIFF6 or NORM6 residual bytes).
Gwenole Beauchesne [Thu, 24 Jan 2013 17:14:28 +0000 (18:14 +0100)]
codecparsers: vc1: fix bitplanes decoding (DIFF6 or NORM6 residual bytes).

Fix parsing of residual bytes. This is a two-step process. First,
remaining colums of full vertical resolution (<height>) need to be
processed. Next, remaining bytes in the first row can be processed,
while taking into account the fact that we may have filled in the
first columns already. So, this is not full horizontal resolution.

The following figure helps in understanding the expected order of
operations, for a 8x5 MBs bitplane.

    5 5 6 6 6 6 6 6
    5 5 1 1 1 2 2 2
    5 5 1 1 1 2 2 2
    5 5 3 3 3 4 4 4
    5 5 3 3 3 4 4 4

So, after tiles 1 to 4 are decoded, vertical tile 5 needs to be
processed (2x5 MBs) and then the horizontal tile 6 (6x1 MBs).

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

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
(cherry picked from commit 10639eb88972bf89656af694b8bf8c4b41255c69)

12 years agocodecparsers: vc1: fix bitplanes decoding (DIFF6 or NORM6).
Gwenole Beauchesne [Thu, 24 Jan 2013 16:28:22 +0000 (17:28 +0100)]
codecparsers: vc1: fix bitplanes decoding (DIFF6 or NORM6).

Fix decoding of DIFF6 or NORM6 bitplanes with an odd number of lines
(3x2 "horizontal" tiles). In this case, we have to skip the first line
of macroblocks but <width> number of bytes was used to do so, instead
of the actual <stride> size.

This fixes decoding for the video sample attached to:
https://bugzilla.gnome.org/show_bug.cgi?id=668565

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

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
(cherry picked from commit fa2a526f04b1f51201fbb837fa430f93609938e8)

12 years agoopuspay: fix timestamps
Wim Taymans [Thu, 31 Jan 2013 11:30:49 +0000 (12:30 +0100)]
opuspay: fix timestamps

Copy timestamps to payloaded buffer.
Avoid input buffer memory leak.

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

12 years agoopusenc: fix crash when setting "cbr" property when encoder is not running yet
Tim-Philipp Müller [Mon, 28 Jan 2013 14:12:56 +0000 (14:12 +0000)]
opusenc: fix crash when setting "cbr" property when encoder is not running yet

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

12 years agocodecparsers: vc1: fix bitplanes decoding.
Gwenole Beauchesne [Tue, 22 Jan 2013 17:01:24 +0000 (18:01 +0100)]
codecparsers: vc1: fix bitplanes decoding.

Fix decoding of DIFF2 or NORM2 bitplanes with an odd number of macroblocks.
In particular, account for the first bit that was already parsed so that to
avoid a buffer overflow after all pairs are parsed.

This fixes SA00040.vc1 conformance test.

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

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
12 years agocurltlssink: set correct level of SSL for the transfer
Patricia Muscalu [Fri, 18 Jan 2013 13:55:40 +0000 (14:55 +0100)]
curltlssink: set correct level of SSL for the transfer

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

12 years agocodecparsers: vc1: fix VOPDQUANT parser for DQUANT == 2.
Gwenole Beauchesne [Tue, 22 Jan 2013 09:48:39 +0000 (10:48 +0100)]
codecparsers: vc1: fix VOPDQUANT parser for DQUANT == 2.

Fix parsing of VOPDQUANT when DQUANT == 2. In particular, DQUANTFRM is
not present in the bitstream in this case and it shall be derived to
the default value of zero (7.1.1.31.1).

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

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
12 years agocodecparsers: vc1: fix calculation of ALTPQUANT.
Gwenole Beauchesne [Tue, 22 Jan 2013 09:38:20 +0000 (10:38 +0100)]
codecparsers: vc1: fix calculation of ALTPQUANT.

Fix calculation of ALTPQUANT when DQUANT == 1. PQDIFF alters ALTPQUANT
in any case. See 7.1.1.31.6.

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

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>