platform/upstream/gstreamer.git
11 years agointer: don't use deprecated GStaticMutex API
Tim-Philipp Müller [Fri, 4 Jan 2013 17:19:25 +0000 (17:19 +0000)]
inter: don't use deprecated GStaticMutex API

11 years agoeglglessink: Don't return EGLImages that we just rendered from the buffer pool
Sebastian Dröge [Thu, 3 Jan 2013 16:28:49 +0000 (17:28 +0100)]
eglglessink: Don't return EGLImages that we just rendered from the buffer pool

Mapping them will fail because they're still internally used.

11 years agoeglglessink: Handle copying of GstMemory properly
Sebastian Dröge [Thu, 3 Jan 2013 14:22:38 +0000 (15:22 +0100)]
eglglessink: Handle copying of GstMemory properly

We have to use the default video meta mapping functions.

11 years agomfc: Set variables to NULL to prevent usage after free/unref
Sebastian Dröge [Thu, 3 Jan 2013 11:09:15 +0000 (12:09 +0100)]
mfc: Set variables to NULL to prevent usage after free/unref

11 years agoeglglessink: Make sure to always use the correct GstMemory for buffers from our pool
Sebastian Dröge [Thu, 3 Jan 2013 11:08:39 +0000 (12:08 +0100)]
eglglessink: Make sure to always use the correct GstMemory for buffers from our pool

11 years agoeglglessink: Don't forget to call the platform specific EGLImage free function
Sebastian Dröge [Thu, 3 Jan 2013 10:03:38 +0000 (11:03 +0100)]
eglglessink: Don't forget to call the platform specific EGLImage free function

11 years agomfc: Fix leak of input/output buffer storage in the MFC decoder library
Sebastian Dröge [Thu, 3 Jan 2013 09:53:01 +0000 (10:53 +0100)]
mfc: Fix leak of input/output buffer storage in the MFC decoder library

11 years agoeglglessink: Make sure to wait for the right object to be dequeued
Sebastian Dröge [Thu, 3 Jan 2013 09:40:34 +0000 (10:40 +0100)]
eglglessink: Make sure to wait for the right object to be dequeued

11 years agomfc: Fix typo
Sebastian Dröge [Thu, 3 Jan 2013 09:10:57 +0000 (10:10 +0100)]
mfc: Fix typo

11 years agomfc: Only add crop metadata if required
Sebastian Dröge [Wed, 2 Jan 2013 16:23:51 +0000 (17:23 +0100)]
mfc: Only add crop metadata if required

11 years agofimc: Do STREAMON/STREAMOFF only once and not once per buffer
Sebastian Dröge [Wed, 2 Jan 2013 15:53:19 +0000 (16:53 +0100)]
fimc: Do STREAMON/STREAMOFF only once and not once per buffer

11 years agomfc: Require one more output buffer than returned by the driver
Sebastian Dröge [Wed, 2 Jan 2013 15:38:47 +0000 (16:38 +0100)]
mfc: Require one more output buffer than returned by the driver

11 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.

11 years agomfc: Prefer NV12 over I420/YV12
Sebastian Dröge [Wed, 2 Jan 2013 15:09:15 +0000 (16:09 +0100)]
mfc: Prefer NV12 over I420/YV12

11 years agomfc: The first frame produces output in our case
Sebastian Dröge [Wed, 2 Jan 2013 14:40:10 +0000 (15:40 +0100)]
mfc: The first frame produces output in our case

11 years agomfc: Request input buffers explicitely
Sebastian Dröge [Wed, 2 Jan 2013 13:32:32 +0000 (14:32 +0100)]
mfc: Request input buffers explicitely

11 years agomfc: Don't STREAMOFF if no STREAMON happened yet
Sebastian Dröge [Wed, 2 Jan 2013 13:27:53 +0000 (14:27 +0100)]
mfc: Don't STREAMOFF if no STREAMON happened yet

11 years agomfc: Check if the MFC hardware exists before registering the element
Sebastian Dröge [Wed, 2 Jan 2013 13:23:22 +0000 (14:23 +0100)]
mfc: Check if the MFC hardware exists before registering the element

11 years agomfc: Check device capabilities before doing anything else
Sebastian Dröge [Wed, 2 Jan 2013 13:16:06 +0000 (14:16 +0100)]
mfc: Check device capabilities before doing anything else

11 years agomfc: Include codec_data in the buffer with the next frame
Sebastian Dröge [Wed, 2 Jan 2013 11:33:42 +0000 (12:33 +0100)]
mfc: Include codec_data in the buffer with the next frame

11 years agomfc: Set format field of the instance struct
Sebastian Dröge [Wed, 2 Jan 2013 10:44:06 +0000 (11:44 +0100)]
mfc: Set format field of the instance struct

11 years agomfc: Implement support for crop metadata
Sebastian Dröge [Wed, 2 Jan 2013 10:00:34 +0000 (11:00 +0100)]
mfc: Implement support for crop metadata

11 years agomfc: Check if the hardware is available in GstVideoDecoder::open()
Sebastian Dröge [Wed, 2 Jan 2013 09:26:04 +0000 (10:26 +0100)]
mfc: Check if the hardware is available in GstVideoDecoder::open()

11 years agompegpsmux: use DTS in addition to PTS
Tim-Philipp Müller [Tue, 1 Jan 2013 11:56:16 +0000 (11:56 +0000)]
mpegpsmux: use DTS in addition to PTS

And refactor choose_best_stream() a little.

videotestsrc pattern=ball ! x264enc ! mpegpsmux ! ...

plays much nicer now.

11 years agoeglglessink: Log in the performance category if we map/copy EGLImages to normal memory
Sebastian Dröge [Tue, 1 Jan 2013 11:05:03 +0000 (12:05 +0100)]
eglglessink: Log in the performance category if we map/copy EGLImages to normal memory

11 years agomfc: Add support for h263 and MPEG1/2
Sebastian Dröge [Tue, 1 Jan 2013 10:05:24 +0000 (11:05 +0100)]
mfc: Add support for h263 and MPEG1/2

11 years agoeglglessink: Catch errors from glEGLImageTargetTexture2DOES()
Sebastian Dröge [Tue, 1 Jan 2013 09:48:19 +0000 (10:48 +0100)]
eglglessink: Catch errors from glEGLImageTargetTexture2DOES()

11 years agoeglglessink: Upload textures in GstBaseSink::prepare() already
Sebastian Dröge [Tue, 1 Jan 2013 09:44:45 +0000 (10:44 +0100)]
eglglessink: Upload textures in GstBaseSink::prepare() already

This gives more time for the texture to be uploaded as it happens
before syncing to the running time. When the running time is reached
only eglSwapBuffers() is necessary.

11 years agompegpsmux: use gstreamer debug logging system everywhere
Tim-Philipp Müller [Mon, 31 Dec 2012 19:45:54 +0000 (19:45 +0000)]
mpegpsmux: use gstreamer debug logging system everywhere

11 years agompegpsmux: port to 0.11
Tim-Philipp Müller [Mon, 31 Dec 2012 19:42:03 +0000 (19:42 +0000)]
mpegpsmux: port to 0.11

Naive port. Barely tested.

11 years agomfc: Don't reconfigure if we get compatible caps
Sebastian Dröge [Mon, 31 Dec 2012 11:42:31 +0000 (12:42 +0100)]
mfc: Don't reconfigure if we get compatible caps

11 years agomfc: Only create the MFC context in ::set_format()
Sebastian Dröge [Mon, 31 Dec 2012 11:33:53 +0000 (12:33 +0100)]
mfc: Only create the MFC context in ::set_format()

11 years agomfc: Recreate fimc context if settings change
Sebastian Dröge [Mon, 31 Dec 2012 10:56:51 +0000 (11:56 +0100)]
mfc: Recreate fimc context if settings change

11 years agomfc: Some refactoring
Sebastian Dröge [Mon, 31 Dec 2012 10:02:48 +0000 (11:02 +0100)]
mfc: Some refactoring

11 years agomfc: Do zerocopy if we get EGLImage buffers
Sebastian Dröge [Mon, 31 Dec 2012 08:47:01 +0000 (09:47 +0100)]
mfc: Do zerocopy if we get EGLImage buffers

11 years agomfc: Some minor fixes
Sebastian Dröge [Sun, 30 Dec 2012 15:45:31 +0000 (16:45 +0100)]
mfc: Some minor fixes

11 years agomfc: Fix double-unmap of the codec data
Sebastian Dröge [Wed, 26 Dec 2012 12:30:23 +0000 (13:30 +0100)]
mfc: Fix double-unmap of the codec data

11 years agomfc: Pass codec_data to the codec if there's some
Sebastian Dröge [Wed, 26 Dec 2012 12:27:50 +0000 (13:27 +0100)]
mfc: Pass codec_data to the codec if there's some

11 years agomfc: Refactor fimc code a bit
Sebastian Dröge [Wed, 26 Dec 2012 12:18:09 +0000 (13:18 +0100)]
mfc: Refactor fimc code a bit

11 years agomfc: Downgrade an error to debug output
Sebastian Dröge [Wed, 26 Dec 2012 11:38:32 +0000 (12:38 +0100)]
mfc: Downgrade an error to debug output

11 years agomfc: Some fimc cleanup
Sebastian Dröge [Wed, 26 Dec 2012 10:51:46 +0000 (11:51 +0100)]
mfc: Some fimc cleanup

11 years agomfc: Add profile/level and width/height constraints
Sebastian Dröge [Wed, 26 Dec 2012 08:56:23 +0000 (09:56 +0100)]
mfc: Add profile/level and width/height constraints

11 years agomfc: Don't leak buffers when setting new dest settings for a direct buffer
Sebastian Dröge [Mon, 24 Dec 2012 15:23:55 +0000 (16:23 +0100)]
mfc: Don't leak buffers when setting new dest settings for a direct buffer

11 years agomfc: Add initial MPEG4 support
Sebastian Dröge [Mon, 24 Dec 2012 15:02:45 +0000 (16:02 +0100)]
mfc: Add initial MPEG4 support

11 years agomfc: Add some more debug output
Sebastian Dröge [Mon, 24 Dec 2012 14:44:54 +0000 (15:44 +0100)]
mfc: Add some more debug output

11 years agomfc: Implement tracking of frames using the v4l2_buffer timestamp
Sebastian Dröge [Mon, 24 Dec 2012 14:34:49 +0000 (15:34 +0100)]
mfc: Implement tracking of frames using the v4l2_buffer timestamp

11 years agomfc: Reset some more variables on ::reset()
Sebastian Dröge [Mon, 24 Dec 2012 13:48:25 +0000 (14:48 +0100)]
mfc: Reset some more variables on ::reset()

11 years agomfc: Also add support for YV12
Sebastian Dröge [Mon, 24 Dec 2012 13:36:34 +0000 (14:36 +0100)]
mfc: Also add support for YV12

11 years agomfc: Add support for video meta
Sebastian Dröge [Mon, 24 Dec 2012 12:41:08 +0000 (13:41 +0100)]
mfc: Add support for video meta

11 years agomfc: Implement negotiation to NV12 or I420 based on downstream caps
Sebastian Dröge [Mon, 24 Dec 2012 12:39:36 +0000 (13:39 +0100)]
mfc: Implement negotiation to NV12 or I420 based on downstream caps

11 years agomfc: Workaround for wrongly reported strides by FIMC
Sebastian Dröge [Mon, 24 Dec 2012 11:31:09 +0000 (12:31 +0100)]
mfc: Workaround for wrongly reported strides by FIMC

11 years agomfc: Add proper support for MFC decoder strides
Sebastian Dröge [Mon, 24 Dec 2012 11:18:23 +0000 (12:18 +0100)]
mfc: Add proper support for MFC decoder strides

11 years agomfc: Try with I420 for now, it's easier to debug
Sebastian Dröge [Mon, 24 Dec 2012 11:10:24 +0000 (12:10 +0100)]
mfc: Try with I420 for now, it's easier to debug

11 years agomfc: Add some more debug output
Sebastian Dröge [Mon, 24 Dec 2012 10:57:43 +0000 (11:57 +0100)]
mfc: Add some more debug output

11 years agomfc: Don't require stride to be set on src parameters
Sebastian Dröge [Mon, 24 Dec 2012 10:54:47 +0000 (11:54 +0100)]
mfc: Don't require stride to be set on src parameters

11 years agomfc: The mfc decoder library is dual licensed too
Sebastian Dröge [Mon, 24 Dec 2012 10:49:42 +0000 (11:49 +0100)]
mfc: The mfc decoder library is dual licensed too

Apache License 2.0 and LGPL2+

11 years agomfc: Use CAMIF/FIMC for hardware color format conversion and de-tiling
Sebastian Dröge [Sun, 23 Dec 2012 11:25:06 +0000 (12:25 +0100)]
mfc: Use CAMIF/FIMC for hardware color format conversion and de-tiling

11 years agomfc: Only unref the outbuf if it doesn't belong to the frame
Sebastian Dröge [Sun, 23 Dec 2012 12:46:07 +0000 (13:46 +0100)]
mfc: Only unref the outbuf if it doesn't belong to the frame

11 years agomfc: Port to GStreamer 1.0
Sebastian Dröge [Sun, 23 Dec 2012 11:04:48 +0000 (12:04 +0100)]
mfc: Port to GStreamer 1.0

11 years agomfc: Add initial decoder element implementation
Sebastian Dröge [Sun, 23 Dec 2012 10:47:50 +0000 (11:47 +0100)]
mfc: Add initial decoder element implementation

This does not copy the output to any output buffers yet.
Other than that should be basically functional already.

11 years agomfc: Add plugin and decoder skeleton
Sebastian Dröge [Sun, 23 Dec 2012 09:23:16 +0000 (10:23 +0100)]
mfc: Add plugin and decoder skeleton

11 years agomfc: Make mfc_decoder library compile and fix some compiler warnings
Sebastian Dröge [Sun, 23 Dec 2012 09:05:49 +0000 (10:05 +0100)]
mfc: Make mfc_decoder library compile and fix some compiler warnings

11 years agomfc: Add mfc_decoder library from FXI
Sebastian Dröge [Sun, 23 Dec 2012 08:56:03 +0000 (09:56 +0100)]
mfc: Add mfc_decoder library from FXI

11 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

11 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

11 years agoeglglessink: Add support for allocating EGLImages on Mali
Sebastian Dröge [Fri, 28 Dec 2012 11:27:43 +0000 (12:27 +0100)]
eglglessink: Add support for allocating EGLImages on Mali

This allows to decoders and other upstream elements to do
zero-copy to the sink.

11 years agoconfigure: replace deprecated AM_CONFIG_HEADER with AC_CONFIG_HEADERS
Tim-Philipp Müller [Mon, 31 Dec 2012 00:16:42 +0000 (00:16 +0000)]
configure: replace deprecated AM_CONFIG_HEADER with AC_CONFIG_HEADERS

AM_CONFIG_HEADER has been removed in the just-released automake 1.13:
https://lists.gnu.org/archive/html/automake/2012-12/msg00038.html

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

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

11 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

11 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

11 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

11 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

11 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

11 years agotsdemux: extract ISO 639 language codes for subtitles into taglists
Matthias Hardt [Thu, 26 Jul 2012 18:38:28 +0000 (20:38 +0200)]
tsdemux: extract ISO 639 language codes for subtitles into taglists

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

11 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

11 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

11 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

11 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

11 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.

11 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 agod3dvideosink: Add compatibility #defines for older mingw headers
Sebastian Dröge [Thu, 27 Dec 2012 13:09:03 +0000 (14:09 +0100)]
d3dvideosink: Add compatibility #defines for older mingw headers

These were removed recently but these mingw headers are still
out there.

12 years agodecklink: remove useless and uninitialized list causing a crash in the device probe
Youness Alaoui [Fri, 21 Dec 2012 12:35:13 +0000 (07:35 -0500)]
decklink: remove useless and uninitialized list causing a crash in the device probe

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 agowaylandsink: do not default to a fullscreen canvas
Joe Konno [Tue, 18 Dec 2012 17:53:16 +0000 (09:53 -0800)]
waylandsink: do not default to a fullscreen canvas

Defer certain canvas particulars to the player (or the Wayland
compositor). Before this change, a fullscreen canvas was always
requested. This may not be desirable in all cases.

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

12 years agoopenjpegdec: Only use 10 bit YUV formats for exactly 10 bit images, not <= 16 bit
Sebastian Dröge [Sun, 23 Dec 2012 08:51:42 +0000 (09:51 +0100)]
openjpegdec: Only use 10 bit YUV formats for exactly 10 bit images, not <= 16 bit

And use the generic converter to AYUV64 for everything else.

12 years agod3dvideosink: Remove scary "while (object.refcount > 0) release (object);" code
Sebastian Dröge [Sat, 22 Dec 2012 17:43:37 +0000 (18:43 +0100)]
d3dvideosink: Remove scary "while (object.refcount > 0) release (object);" code

If there is a memory leak, this isn't the way how it should be fixed.

12 years agod3dvideosink: Don't forget to return a value from ::propose_allocation()
Sebastian Dröge [Sat, 22 Dec 2012 17:17:45 +0000 (18:17 +0100)]
d3dvideosink: Don't forget to return a value from ::propose_allocation()

12 years agod3dvideosink: Add support for the video meta
Sebastian Dröge [Sat, 22 Dec 2012 17:17:04 +0000 (18:17 +0100)]
d3dvideosink: Add support for the video meta

12 years agod3dvideosink: Don't use "class" as variable name and don't use C99 comments
Sebastian Dröge [Sat, 22 Dec 2012 17:12:42 +0000 (18:12 +0100)]
d3dvideosink: Don't use "class" as variable name and don't use C99 comments

12 years agod3dvideosink: Only open system resources in in NULL->READY, not on object instantiation
Sebastian Dröge [Sat, 22 Dec 2012 17:04:42 +0000 (18:04 +0100)]
d3dvideosink: Only open system resources in in NULL->READY, not on object instantiation

12 years agod3dvideosink: Properly copy frames to D3D with the right strides and everything
Sebastian Dröge [Sat, 22 Dec 2012 16:55:08 +0000 (17:55 +0100)]
d3dvideosink: Properly copy frames to D3D with the right strides and everything

And only support color formats that are actually supported by the driver,
this allows proper zero-copy handling later and simplifies the code a lot.

Also simplify some other places, like the format mapping code.

12 years agod3dvideosink: Remove non-sense display PAR handling
Sebastian Dröge [Sat, 22 Dec 2012 15:26:52 +0000 (16:26 +0100)]
d3dvideosink: Remove non-sense display PAR handling

This has to be implemented properly at some point

12 years agod3dvideosink: Fix caps leak
Sebastian Dröge [Sat, 22 Dec 2012 15:18:14 +0000 (16:18 +0100)]
d3dvideosink: Fix caps leak