Louis-Francis Ratté-Boulianne [Tue, 19 Feb 2013 18:01:37 +0000 (13:01 -0500)]
uridownloader: unlock mutex when switching urisrc state to NULL to avoid deadlock
When chain method was called after gst_uri_downloader_stop and before state has been changed to NULL, execution was blocking on g_mutex_lock.
Conflicts:
gst-libs/gst/uridownloader/gsturidownloader.c
Thiago Santos [Thu, 7 Feb 2013 03:28:15 +0000 (00:28 -0300)]
uridownloader: properly unref the urisrc between downloads
This prevents leaking the element. Also sets the bus to flushing
to completely reset the downloader state
Andre Moreira Magalhaes (andrunko) [Tue, 16 Apr 2013 20:23:02 +0000 (17:23 -0300)]
uridownloader: make cancelled state 'permanent' until a reset
When downloading and cancelling quickly the uridownloader object and the
element using it could miss the cancelled window and the uridownloader
would fetch the wrong URI and block on subsequent fetches.
This was also problematic when stopping elements, while one task would
call the cancel, another element thread could issue a new fetch_uri. As
the cancel state isn't 'permanent' this fetch_uri would block and
prevent the whole element from stopping and going to NULL.
This patch makes the 'cancelled' state permanent until a
gst_uri_downloader_reset is called. This way the element knows the
window where the uridownloader isn't active and only reactivate it when
ready.
Thiago Santos [Tue, 16 Apr 2013 22:47:02 +0000 (19:47 -0300)]
uridownloader: refactor gsturidownloader to its own lib
gsturidownloader can be reused by other plugins, better have it
into its own lib
Greg Rutz [Tue, 7 May 2013 14:26:03 +0000 (08:26 -0600)]
mpegtsmux: Fix memory leak when using prepare_func
prepare_func will allocate a new buffer to replace the original
one. Instead of using gst_buffer_replace (which causes an extra
refcount increment on the new buffer), we just unref the original
buffer.
https://bugzilla.gnome.org/show_bug.cgi?id=699786
Sreerenj Balachandran [Tue, 7 May 2013 11:22:10 +0000 (14:22 +0300)]
mpegvideometa: Fix typo in comment
https://bugzilla.gnome.org/show_bug.cgi?id=699827
Stefan Sauer [Fri, 3 May 2013 19:46:08 +0000 (21:46 +0200)]
ladspa: sync controlled parames in filters and sinks
Sebastian Dröge [Fri, 3 May 2013 14:55:00 +0000 (16:55 +0200)]
ladspa: Add $(GMODULE_NO_EXPORT_LIBS) for gmodule
Matej Knopp [Wed, 1 May 2013 15:19:07 +0000 (17:19 +0200)]
mpegvideoparse: don't compare buffer size when checking whether to update caps
https://bugzilla.gnome.org/show_bug.cgi?id=699398
Juan Manuel Borges Caño [Fri, 3 May 2013 09:34:34 +0000 (11:34 +0200)]
ladspa: improved port to gstreamer 1.0
Fixes: #698927
Tim-Philipp Müller [Wed, 1 May 2013 16:36:47 +0000 (17:36 +0100)]
mpegvideoparse: don't announce incomplete source caps
Don't send any source caps yet if we're still in
drop-buffers-until-we-get-a-sequence-header mode.
Fixes transmuxing of many MPEG-TS/PS streams into
formats which require things like width, height or
codec_data on the input caps.
Also fixes issues when using playbin with decoder
sinks that want width/height etc.
https://bugzilla.gnome.org/show_bug.cgi?id=695879
Tim-Philipp Müller [Sat, 27 Apr 2013 11:28:42 +0000 (12:28 +0100)]
kate: fix buffer leak in katetag
Makes unit test valgrind clean.
https://bugzilla.gnome.org/show_bug.cgi?id=697071
Tim-Philipp Müller [Sat, 27 Apr 2013 11:06:53 +0000 (12:06 +0100)]
tests: fix some leaks in kate unit test
Tim-Philipp Müller [Sat, 27 Apr 2013 11:06:28 +0000 (12:06 +0100)]
kate: minor cleanup
Olivier Crête [Fri, 26 Apr 2013 19:33:18 +0000 (15:33 -0400)]
liveadder: Document that the latency is in milliseconds
Bug #698896
Edward Hervey [Fri, 26 Apr 2013 13:39:30 +0000 (15:39 +0200)]
tsdemux: convert packet PTS/DTS as soon as possible
We let the mpegtspacketizer deal with pcr wraparound/resets.
https://bugzilla.gnome.org/show_bug.cgi?id=674536
Edward Hervey [Fri, 26 Apr 2013 10:18:20 +0000 (12:18 +0200)]
mpegtsdemux: header cleanups/updates
Rico Tzschichholz [Fri, 26 Apr 2013 12:32:14 +0000 (14:32 +0200)]
docs: Drop obsolete references to videosignal headers
In addition to
8552396c362c20adb6aa9129a453ff81ecdcf656
Josep Torra [Fri, 26 Apr 2013 08:38:36 +0000 (10:38 +0200)]
h264parse: Update src pad caps when it was explicitly signaled
Fixes src pad caps aren't updated when converting from AVC to bytestream
and new caps had been received in the sink pad.
https://bugzilla.gnome.org/show_bug.cgi?id=698679
Thiago Santos [Tue, 23 Apr 2013 18:19:14 +0000 (15:19 -0300)]
tsdemux: Fix caps string leak
Sebastian Dröge [Wed, 24 Apr 2013 07:40:24 +0000 (09:40 +0200)]
eglglessink: Use gst_egl_display_get() instead of passing a GstEGLDisplay to EGL functions
Sebastian Dröge [Thu, 28 Mar 2013 15:52:26 +0000 (16:52 +0100)]
wasapisrc: Port to GstAudioSrc
Sebastian Dröge [Wed, 27 Mar 2013 09:10:21 +0000 (10:10 +0100)]
wasapi: Port wasapisink to GstAudioSink
Tim-Philipp Müller [Tue, 23 Apr 2013 00:17:56 +0000 (01:17 +0100)]
tests: fix remaining kate tests
https://bugzilla.gnome.org/show_bug.cgi?id=697071
Brendan Long [Mon, 15 Apr 2013 23:06:57 +0000 (17:06 -0600)]
tests: port Kate tests to 1.0
https://bugzilla.gnome.org/show_bug.cgi?id=697071
Tim-Philipp Müller [Mon, 22 Apr 2013 22:52:20 +0000 (23:52 +0100)]
Automatic update of common submodule
From
3cb3d3c to
5edcd85
Tim-Philipp Müller [Sun, 21 Apr 2013 17:28:52 +0000 (18:28 +0100)]
dvbbasebin: better error reporting
https://bugzilla.gnome.org/show_bug.cgi?id=678892
Tim-Philipp Müller [Sun, 21 Apr 2013 13:13:45 +0000 (14:13 +0100)]
dvbbasebin: log channel parsing into dvbbasebin debug category as well
Tim-Philipp Müller [Sun, 21 Apr 2013 13:04:11 +0000 (14:04 +0100)]
dvbbasebin: fix path where to look for the dvb-channels.conf
Construct path based on the API version, not $major.$minor version.
Thiago Santos [Thu, 18 Apr 2013 20:26:15 +0000 (20:26 +0000)]
eglglessink: eagl: fix eagl reuse by not releasing the context
It seems EAGL expects the application to simply ignore unused
EAGL contexts as the resources for it would be released when a new
context is set as the current one. Also move the egl extensions
querying to after a context is set to prevent crashes.
This makes the EAGL version of eglglessink reusable.
Wim Taymans [Thu, 18 Apr 2013 15:18:12 +0000 (17:18 +0200)]
aiff: port to 1.0
Sebastian Dröge [Thu, 18 Apr 2013 14:11:26 +0000 (16:11 +0200)]
egl: Use gst_context_writable_structure()
Sebastian Dröge [Thu, 18 Apr 2013 13:26:31 +0000 (15:26 +0200)]
eglglessink: Give only SECONDARY rank
If available we still prefer xvimagesink.
Josep Torra [Thu, 18 Apr 2013 10:54:31 +0000 (12:54 +0200)]
eglglessink: fixes 'makes integer from pointer without a cast' warning
Josep Torra [Thu, 18 Apr 2013 10:24:18 +0000 (12:24 +0200)]
eglglessink: silence warnings building for RPI related to 'vcos_*'
Josep Torra [Thu, 18 Apr 2013 10:27:28 +0000 (12:27 +0200)]
eglglessink: fix warnings building on the RPI
Josep Torra [Thu, 18 Apr 2013 10:16:17 +0000 (12:16 +0200)]
egl: silence warnings building for RPI related to 'vcos_*'
Greg Rutz [Wed, 17 Apr 2013 20:45:19 +0000 (14:45 -0600)]
tsdemux: Add support for Motorola DigiCipher II MPEG2 video
Since there is a conflict between the DCII stream type and BluRay
stream types, moved the processing of BluRay-specific stream types
to the beginning of the function. Only if a BluRay stream type
IS NOT found do we proceed to check the rest of the stream type
identifiers
Previous code was also "sort-of" handling a similar conflict between
BluRay AC3 audio and standard AC3 audio. Moved the special case BluRay
AC3 handling in the main switch statement to the new BluRay-specific
switch.
https://bugzilla.gnome.org/show_bug.cgi?id=697892
Sebastian Dröge [Thu, 18 Apr 2013 07:07:29 +0000 (09:07 +0200)]
configure: The quicktime wrapper plugin is not ported yet either
Sebastian Dröge [Thu, 18 Apr 2013 06:56:36 +0000 (08:56 +0200)]
configure: The osxvideosrc plugin is called osx_video
Sebastian Dröge [Thu, 18 Apr 2013 05:54:38 +0000 (07:54 +0200)]
osxvideosrc: It's not ported to 1.0 yet
Sebastian Dröge [Wed, 17 Apr 2013 11:48:28 +0000 (13:48 +0200)]
eglglessink: Fix GstContext refcounting some more
Sebastian Dröge [Wed, 17 Apr 2013 11:16:27 +0000 (13:16 +0200)]
eglglessink: Fix GstContext refcounting
Sebastian Dröge [Wed, 17 Apr 2013 08:48:31 +0000 (10:48 +0200)]
eglglessink: Update for GLTextureUploadMeta and EGL API changes
Sebastian Dröge [Wed, 17 Apr 2013 08:40:48 +0000 (10:40 +0200)]
egl: Use new types from libgstvideo instead of defining our own
Youness Alaoui [Mon, 25 Mar 2013 22:30:18 +0000 (18:30 -0400)]
h264parse: Do not check for VUI parameters if they were not present in the SPS
Sebastian Dröge [Tue, 16 Apr 2013 20:51:02 +0000 (22:51 +0200)]
eglglessink: Reorder surface queries
Otherwise wrong values can be returned.
Sebastian Dröge [Tue, 16 Apr 2013 20:25:19 +0000 (22:25 +0200)]
eglglessink: Properly set a debug category for the adaption layers
Sebastian Dröge [Tue, 16 Apr 2013 20:25:02 +0000 (22:25 +0200)]
eglglessink: Get the EGL/GLES extensions at the right position
Sebastian Dröge [Tue, 16 Apr 2013 20:14:09 +0000 (22:14 +0200)]
eglglessink: Fix compiler warning
gstegladaptation_egl.c: In function 'gst_egl_adaptation_create_native_window':
gstegladaptation_egl.c:868:3: error: format '%p' expects argument of type 'void *', but argument 8 has type 'EGLNativeWindowType' [-Werror=format=]
GST_DEBUG_OBJECT (ctx->element, "Using window handle %p", window);
^
Thiago Santos [Wed, 10 Apr 2013 20:27:27 +0000 (17:27 -0300)]
eglglessink: refactor to allow eagl support
Put EGL specific code to a separate file and create the same functions
for EAGL, the Apple's specific EGL implementaton.
At this point, the EAGL version wasn't compiled or tested as there isn't
any simple documented way to build 1.0 for iOS. This code for the EAGL
version is still the 0.10 version, some updates should be made when 1.0
is buildable for iOS.
Thiago Santos [Mon, 15 Apr 2013 20:43:56 +0000 (17:43 -0300)]
eagl: add ios window system option for eglgles configure
Thiago Santos [Mon, 15 Apr 2013 21:40:09 +0000 (18:40 -0300)]
ios: unconditionally check if we are building for iOS
Instead of only checking if applemedia is going to be built
Thiago Santos [Wed, 10 Apr 2013 17:53:48 +0000 (14:53 -0300)]
eglglessink: refactor egl functions/data to a separate file
This is part of the changes required to make
eglglessink work with both EGL and Apple's EAGL
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
Sebastian Dröge [Tue, 16 Apr 2013 14:23:46 +0000 (16:23 +0200)]
amcaudiodec: Properly set output format instead of just setting caps
Sebastian Dröge [Tue, 16 Apr 2013 14:17:50 +0000 (16:17 +0200)]
androidmedia: Set parent class in class_init
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.
Sebastian Dröge [Tue, 16 Apr 2013 13:32:01 +0000 (15:32 +0200)]
amcaudiodec: Use 1.0-style raw audio caps
Sebastian Dröge [Tue, 16 Apr 2013 13:31:34 +0000 (15:31 +0200)]
androidmedia: Properly set subclasses metadata/pad templates in base_init
David Schleef [Mon, 15 Apr 2013 23:01:29 +0000 (16:01 -0700)]
mpegtsdemux: check value before using as denominator
Anton Belka [Mon, 15 Apr 2013 15:19:38 +0000 (18:19 +0300)]
uvch264: printf format fix
gstuvch264_mjpgdemux.c:437:5: error: format '%lu' expects argument of type 'long unsigned int', but argument 8 has type 'GstClockTime'
Sebastian Dröge [Wed, 24 Oct 2012 10:16:39 +0000 (12:16 +0200)]
gst: Add better support for static plugins
Sebastian Dröge [Mon, 15 Apr 2013 13:13:40 +0000 (15:13 +0200)]
cruft: Add camerabin directory to the cruft directories
Wim Taymans [Mon, 15 Apr 2013 07:01:55 +0000 (09:01 +0200)]
sdpdemux: fix timeout value
Timeout on udpsrc is in nanoseconds in 1.0
David Schleef [Mon, 15 Apr 2013 07:22:39 +0000 (00:22 -0700)]
mpg123: Add conditional on API version for new enum
Andoni Morales Alastruey [Thu, 4 Apr 2013 15:59:09 +0000 (15:59 +0000)]
avfvideosrc: fix deadlock draining queue from the same thread
Fabricio Costa Alisedo [Wed, 10 Aug 2011 12:13:34 +0000 (12:13 +0000)]
dshowsrcwrapper: Added Graph Builder and Capture Builder to correctly create upstream needed filters by Analog TV Capture Devices.
Andoni Morales Alastruey [Sat, 1 Dec 2012 16:24:22 +0000 (16:24 +0000)]
dshowsrcwrapper: Add support for UYVY
Sebastian Dröge [Mon, 15 Apr 2013 06:48:19 +0000 (08:48 +0200)]
eglglessink: Fix compiler warnings
gsteglglessink.c: In function 'gst_eglglessink_fill_texture':
gsteglglessink.c:1815:3: error: format '%d' expects argument of type 'int', but argument 11 has type 'gsize' [-Werror=format]
gsteglglessink.c: In function 'gst_eglglessink_configure_caps':
gsteglglessink.c:2850:3: error: format '%p' expects argument of type 'void *', but argument 8 has type 'EGLNativeWindowType' [-Werror=format]
Tim-Philipp Müller [Sun, 14 Apr 2013 23:48:36 +0000 (00:48 +0100)]
kate: only send decoder output caps once or when the format changes
and not for every single buffer. And also send a caps
event for spu output.
https://bugzilla.gnome.org/show_bug.cgi?id=697071
Tim-Philipp Müller [Sun, 14 Apr 2013 22:22:40 +0000 (23:22 +0100)]
kate: fix decoder output caps
It's either pango-markup or utf8, never both at the same time.
https://bugzilla.gnome.org/show_bug.cgi?id=697071
Tim-Philipp Müller [Sun, 14 Apr 2013 22:19:44 +0000 (23:19 +0100)]
kate: mark header buffers as such
Tim-Philipp Müller [Sun, 14 Apr 2013 22:08:40 +0000 (23:08 +0100)]
kateenc: save current input format in setcaps
Tim-Philipp Müller [Sun, 14 Apr 2013 20:28:51 +0000 (21:28 +0100)]
kate: fix printf format strings and disable tiger element
Brendan Long [Mon, 1 Apr 2013 18:47:13 +0000 (12:47 -0600)]
kate: port Kate subtitles to 1.0
https://bugzilla.gnome.org/show_bug.cgi?id=697071
Tim-Philipp Müller [Sun, 14 Apr 2013 16:55:28 +0000 (17:55 +0100)]
Automatic update of common submodule
From
aed87ae to
3cb3d3c
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
David Schleef [Fri, 12 Apr 2013 21:09:24 +0000 (14:09 -0700)]
element-template: add start/stop to videofilter
David Schleef [Fri, 12 Apr 2013 21:08:15 +0000 (14:08 -0700)]
element-templates: avoid using PadTemplates
David Schleef [Fri, 12 Apr 2013 21:07:31 +0000 (14:07 -0700)]
element-templates: Add helper code to transform_caps
David Schleef [Fri, 12 Apr 2013 20:56:25 +0000 (13:56 -0700)]
videoanalyse: port to 1.0
David Schleef [Sat, 6 Apr 2013 04:31:18 +0000 (21:31 -0700)]
videofiltersbad: port to 1.0
Matej Knopp [Thu, 11 Apr 2013 20:15:07 +0000 (22:15 +0200)]
mpegdemux: decrease log priority for repeating messages
https://bugzilla.gnome.org/show_bug.cgi?id=697834
Sebastian Dröge [Thu, 11 Apr 2013 11:34:13 +0000 (13:34 +0200)]
video: Remove video library from -bad
This only contained API that now has replacements in core and base.
Sebastian Dröge [Thu, 11 Apr 2013 11:08:57 +0000 (13:08 +0200)]
tsdemux: Check the continuity counter for non-section packets too
And if we detect a discontinuity there (like... when losing packets
or having MPEGTS over raw UDP with out-of-order packets) we just
drop the corresponding packet.
A future version could try to implement a re-ordering algorithm based
on that, similar to what rtpjitterbuffer does.
Stefan Sauer [Thu, 11 Apr 2013 08:06:23 +0000 (10:06 +0200)]
mfxdemus: update todo (ther eis a muxer)
Sebastian Dröge [Wed, 10 Apr 2013 14:19:00 +0000 (16:19 +0200)]
mpegtsbase: Call ::program_stopped after removing all streams
Subclasses want to access the program while removing the streams
and will currently crash because of dereferencing NULL in some cases.
Alexander Schrab [Wed, 10 Apr 2013 09:06:52 +0000 (11:06 +0200)]
watchdog: race between g_main_loop_run/_quit fixed
https://bugzilla.gnome.org/show_bug.cgi?id=697694
Olivier Crête [Wed, 10 Apr 2013 01:32:07 +0000 (21:32 -0400)]
srtpdec: Don't stop on invalid buffer
Olivier Crête [Wed, 10 Apr 2013 01:31:55 +0000 (21:31 -0400)]
srtpdec: Cleaner stream cleanup
Olivier Crête [Wed, 10 Apr 2013 01:31:24 +0000 (21:31 -0400)]
srtpdec: Don't crash on invalid cipher
David Schleef [Wed, 27 Mar 2013 23:49:05 +0000 (16:49 -0700)]
watchdog: fix event handling
David Schleef [Mon, 1 Apr 2013 22:52:17 +0000 (15:52 -0700)]
yadif: remove extra template code
David Schleef [Mon, 1 Apr 2013 22:47:54 +0000 (15:47 -0700)]
ivtc: remove transform_size, it's not needed
David Schleef [Tue, 2 Apr 2013 03:13:41 +0000 (20:13 -0700)]
element-maker: fix return value in videoencoder
David Schleef [Tue, 2 Apr 2013 03:12:57 +0000 (20:12 -0700)]
gst-element-maker: create better element name when using --prefix
David Schleef [Tue, 2 Apr 2013 03:03:59 +0000 (20:03 -0700)]
interaudiosink: fix leak when not connected
Stefan Sauer [Tue, 9 Apr 2013 19:00:28 +0000 (21:00 +0200)]
Automatic update of common submodule
From
04c7a1e to
aed87ae
Tim-Philipp Müller [Mon, 8 Apr 2013 16:40:14 +0000 (17:40 +0100)]
ext: printf format fixes in debug and error messages