platform/upstream/gstreamer.git
15 years agocog: Add color matrix selection to cogcolorspace
David Schleef [Thu, 8 Oct 2009 21:33:28 +0000 (14:33 -0700)]
cog: Add color matrix selection to cogcolorspace

Eventually hook it up to caps via gstvideo

15 years agocog: Improve RGB<->YCbCr matrixing
David Schleef [Thu, 8 Oct 2009 20:24:36 +0000 (13:24 -0700)]
cog: Improve RGB<->YCbCr matrixing

YCbCr->RGB now has a 'bits' setting, which controls the number
of bits used for the matrix coefficients.  Choices are 6 or 8.
6 is low quality, but faster.
RGB->YCbCr now works.  Always works in 8 bit, since it's the same
speed as 6 bit.

15 years agocog: Fix AYUV unpacking
David Schleef [Thu, 8 Oct 2009 20:23:53 +0000 (13:23 -0700)]
cog: Fix AYUV unpacking

15 years agocog: hacking to improve matrix quality
David Schleef [Wed, 7 Oct 2009 23:30:26 +0000 (16:30 -0700)]
cog: hacking to improve matrix quality

15 years agoconfigure.ac: And back to development we go
Edward Hervey [Sat, 24 Oct 2009 18:33:27 +0000 (20:33 +0200)]
configure.ac: And back to development we go

15 years agoRelease 0.10.16
Jan Schmidt [Fri, 23 Oct 2009 22:16:45 +0000 (23:16 +0100)]
Release 0.10.16

15 years agoUpdate .po files
Jan Schmidt [Fri, 23 Oct 2009 22:15:31 +0000 (23:15 +0100)]
Update .po files

15 years agoFix start/stop typo
Kaj-Michael Lang [Fri, 23 Oct 2009 08:00:53 +0000 (11:00 +0300)]
Fix start/stop typo

15 years agoconfigure: also build neonhttpsrc with libneon-29.x
Thomas Green [Fri, 23 Oct 2009 09:48:25 +0000 (10:48 +0100)]
configure: also build neonhttpsrc with libneon-29.x

Fixes #599332.

15 years agoschroenc: Use guint64 instead of uint64_t. Fixes #599355
Edward Hervey [Fri, 23 Oct 2009 08:18:12 +0000 (10:18 +0200)]
schroenc: Use guint64 instead of uint64_t. Fixes #599355

15 years agoRevert "dshowsrcwrapper: cleanup push buffer callback"
Jan Schmidt [Thu, 22 Oct 2009 13:00:10 +0000 (14:00 +0100)]
Revert "dshowsrcwrapper: cleanup push buffer callback"

gst-plugins-bad is still frozen for general commits.

This reverts commit 2e4131926f2726fe8fee5c39dd9357f14764d0cb.

15 years agodshowsrcwrapper: cleanup push buffer callback
Julien Isorce [Thu, 22 Oct 2009 12:26:30 +0000 (14:26 +0200)]
dshowsrcwrapper: cleanup push buffer callback

15 years agompegpsmux: some minor build fixes
Tim-Philipp Müller [Thu, 22 Oct 2009 10:43:17 +0000 (11:43 +0100)]
mpegpsmux: some minor build fixes

CLFAGS -> CFLAGS, and fix order of variables while we're at it.

15 years agoautoconvert: Take the object lock fewer times
Jan Schmidt [Wed, 21 Oct 2009 23:50:37 +0000 (00:50 +0100)]
autoconvert: Take the object lock fewer times

When starting up and creating the list of element factories, only
take the object lock twice instead of 3 times.

15 years agoautoconvert: Don't hold the object lock when pushing
Jan Schmidt [Wed, 21 Oct 2009 22:06:56 +0000 (23:06 +0100)]
autoconvert: Don't hold the object lock when pushing

When pushing out cached events, don't hold the object lock. Avoids
deadlocks starting up DVD playback.

15 years agofaac: Link with libgstbase for GstAdapter
Sebastian Dröge [Thu, 22 Oct 2009 09:10:28 +0000 (11:10 +0200)]
faac: Link with libgstbase for GstAdapter

Fixes bug #599272.

15 years agorelease 0.10.15
Jan Schmidt [Wed, 21 Oct 2009 16:14:34 +0000 (17:14 +0100)]
release 0.10.15

15 years agoUpdate .po files
Jan Schmidt [Wed, 21 Oct 2009 15:51:09 +0000 (16:51 +0100)]
Update .po files

15 years agoid3tag: actually write image to APIC tag.
Michael Smith [Fri, 16 Oct 2009 21:37:02 +0000 (14:37 -0700)]
id3tag: actually write image to APIC tag.

15 years ago0.10.14.4 pre-release
Jan Schmidt [Fri, 16 Oct 2009 11:30:59 +0000 (12:30 +0100)]
0.10.14.4 pre-release

15 years agodist: Include vdpsink.h in the tarball to fix the dist.
Jan Schmidt [Fri, 16 Oct 2009 10:53:14 +0000 (11:53 +0100)]
dist: Include vdpsink.h in the tarball to fix the dist.

15 years agodtsdec: Use gst_buffer_ref/unref, not gst_object_ref/unref
Jan Schmidt [Fri, 16 Oct 2009 10:08:05 +0000 (11:08 +0100)]
dtsdec: Use gst_buffer_ref/unref, not gst_object_ref/unref

properly fixes: #598274

15 years agoautoconvert: Use gst_pad_peer_accept_caps instead of gst_pad_set_caps.
Jan Schmidt [Fri, 16 Oct 2009 00:26:10 +0000 (01:26 +0100)]
autoconvert: Use gst_pad_peer_accept_caps instead of gst_pad_set_caps.

gst_pad_set_caps on the internal source pad always succeeds, because
caps propagate to the peer with buffers, not immediately. Using
gst_pad_peer_accept_caps properly checks whether the actual
sub-element can accept caps when they change.

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

15 years agoresindvd: Re-send audio stream select on re-configuration
Jan Schmidt [Fri, 16 Oct 2009 00:09:49 +0000 (01:09 +0100)]
resindvd: Re-send audio stream select on re-configuration

When the layout of the audio streams changes, re-send the current
audio stream selection event, in order to trigger switching to the
new stream properly.

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

15 years agoresindvd: Fix a small flaw - if any audio stream exists, use it
Jan Schmidt [Thu, 15 Oct 2009 23:50:31 +0000 (00:50 +0100)]
resindvd: Fix a small flaw - if any audio stream exists, use it

Don't create a dummy audio stream if only non-AC3 tracks exist.

15 years agoAutomatic update of common submodule
Stefan Kost [Fri, 16 Oct 2009 07:16:33 +0000 (10:16 +0300)]
Automatic update of common submodule

From 85d1530 to 0702fe1

15 years ago0.10.14.3 pre-release
Jan Schmidt [Thu, 15 Oct 2009 22:48:53 +0000 (23:48 +0100)]
0.10.14.3 pre-release

15 years agoresindvd: Fix decoder pad template to allow LPCM
Jan Schmidt [Wed, 14 Oct 2009 10:06:46 +0000 (11:06 +0100)]
resindvd: Fix decoder pad template to allow LPCM

The pad template in the new switching decoder is too restrictive,
preventing the LPCM decoder from being selected.

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

15 years agoAutomatic update of common submodule
Edward Hervey [Wed, 14 Oct 2009 08:41:38 +0000 (10:41 +0200)]
Automatic update of common submodule

From a3e3ce4 to 85d1530

15 years agoresindvd: Don't leak a reference to the parent in rsnaudiomunge
Jan Schmidt [Tue, 13 Oct 2009 12:05:50 +0000 (13:05 +0100)]
resindvd: Don't leak a reference to the parent in rsnaudiomunge

Don't leak a reference to the pad parent in the sink pad event handler
in rsnaudiomunge.

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

15 years agodtsdec: Fix reference leak on all input buffers in 'dvd mode'
Jan Schmidt [Tue, 13 Oct 2009 12:04:47 +0000 (13:04 +0100)]
dtsdec: Fix reference leak on all input buffers in 'dvd mode'

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

15 years agofaad2: Don't leak element reference in the setcaps function
Peter Christoffersen [Tue, 13 Oct 2009 14:01:26 +0000 (16:01 +0200)]
faad2: Don't leak element reference in the setcaps function

Fixes bug #598139.

15 years ago0.10.14.2 pre-release
Jan Schmidt [Mon, 12 Oct 2009 13:27:57 +0000 (14:27 +0100)]
0.10.14.2 pre-release

15 years agofaad: fixes warning in macosx snow leopard
Josep Torra [Mon, 12 Oct 2009 10:29:44 +0000 (12:29 +0200)]
faad: fixes warning in macosx snow leopard

15 years agojack: ensure segtotal is at least 2
Stefan Kost [Mon, 12 Oct 2009 06:06:37 +0000 (09:06 +0300)]
jack: ensure segtotal is at least 2

Not only adjust buffer-time and avoid segtotal=0, but instead ensure segtotal is
atleast 2. Do same change on jacksrc. We could also check the latency and buffer
time configured by the client and adjust buffer-time so that we get to the same
number of segments.

15 years agojack: don't crash in ringbuffer with SIGFPE on small buffer-times
Stefan Kost [Sun, 11 Oct 2009 21:51:27 +0000 (00:51 +0300)]
jack: don't crash in ringbuffer with SIGFPE on small buffer-times

Jack overrides user-specified latency-time with the one it gets from jack
itself. It also needs to adjust buffer-time somewhat to avoid segtotal being 0

15 years agometadata: init variables
Stefan Kost [Sun, 11 Oct 2009 19:10:04 +0000 (22:10 +0300)]
metadata: init variables

metadatamux_exif_get_exif_from_tag() does not neccesarily init the passed
variables.

15 years agosignalprocessor: use the type define like everywhere else
Stefan Kost [Sat, 3 Oct 2009 18:35:02 +0000 (21:35 +0300)]
signalprocessor: use the type define like everywhere else

15 years agosignalprocessort: register debug category just once
Stefan Kost [Sat, 3 Oct 2009 18:31:55 +0000 (21:31 +0300)]
signalprocessort: register debug category just once

Previously we were trying to register it for every subclass.

15 years agosoundtouch: fixes warnings on macosx snow leopard
Josep Torra [Sun, 11 Oct 2009 12:10:59 +0000 (14:10 +0200)]
soundtouch: fixes warnings on macosx snow leopard

15 years agoschroedinger: fix warnings on macosx snow leopard
Josep Torra [Sun, 11 Oct 2009 12:02:26 +0000 (14:02 +0200)]
schroedinger: fix warnings on macosx snow leopard

15 years agometadata: fix warnings in macosx snow leopard
Josep Torra [Sun, 11 Oct 2009 11:56:43 +0000 (13:56 +0200)]
metadata: fix warnings in macosx snow leopard

15 years agomms: fixes warning in macosx snow leopard
Josep Torra [Sun, 11 Oct 2009 11:51:58 +0000 (13:51 +0200)]
mms: fixes warning in macosx snow leopard

15 years agodirac: fix warning in macosx snow leopard
Josep Torra [Sun, 11 Oct 2009 11:46:00 +0000 (13:46 +0200)]
dirac: fix warning in macosx snow leopard

15 years agospeed: fix warnings in macosx snow leopard
Josep Torra [Sun, 11 Oct 2009 11:13:56 +0000 (13:13 +0200)]
speed: fix warnings in macosx snow leopard

15 years agompegvideoparse: fix warning in macosx snow leopard
Josep Torra [Sun, 11 Oct 2009 11:07:19 +0000 (13:07 +0200)]
mpegvideoparse: fix warning in macosx snow leopard

15 years agompegdemux: fix warnings in macosx snow leopard
Josep Torra [Sun, 11 Oct 2009 10:56:29 +0000 (12:56 +0200)]
mpegdemux: fix warnings in macosx snow leopard

15 years agodtmf: fix warnings in macosx snow leopard
Josep Torra [Sun, 11 Oct 2009 09:35:23 +0000 (11:35 +0200)]
dtmf: fix warnings in macosx snow leopard

15 years agoamrparse: fix warnings in macosx snow leopard
Josep Torra [Sun, 11 Oct 2009 09:27:08 +0000 (11:27 +0200)]
amrparse: fix warnings in macosx snow leopard

15 years agoaacparse: fix warnings in macosx snow leopard
Josep Torra [Sun, 11 Oct 2009 09:22:11 +0000 (11:22 +0200)]
aacparse: fix warnings in macosx snow leopard

15 years agobasevideo: fix warnings in macosx snow leopard
Josep Torra [Sun, 11 Oct 2009 09:14:16 +0000 (11:14 +0200)]
basevideo: fix warnings in macosx snow leopard

15 years agoassrender/dvdspu: Increase ranks to PRIMARY
Sebastian Dröge [Fri, 9 Oct 2009 11:18:31 +0000 (13:18 +0200)]
assrender/dvdspu: Increase ranks to PRIMARY

15 years agodvdspu: Include SubPicture in the classification
Sebastian Dröge [Fri, 9 Oct 2009 07:19:06 +0000 (09:19 +0200)]
dvdspu: Include SubPicture in the classification

15 years agoassrender: Make classification a bit more accurate
Sebastian Dröge [Fri, 9 Oct 2009 07:18:04 +0000 (09:18 +0200)]
assrender: Make classification a bit more accurate

Change from "Filter/Effect/Video" to "Mixer/Video/Overlay/Subtitle"

15 years agocapssetter: add unit test
Mark Nauwelaerts [Thu, 8 Oct 2009 17:51:31 +0000 (19:51 +0200)]
capssetter: add unit test

15 years agoAutomatic update of common submodule
Jan Schmidt [Thu, 8 Oct 2009 10:00:49 +0000 (11:00 +0100)]
Automatic update of common submodule

From 19fa4f3 to a3e3ce4

15 years agoschro: remove unused include of liboil.h
David Schleef [Wed, 7 Oct 2009 23:29:08 +0000 (16:29 -0700)]
schro: remove unused include of liboil.h

15 years agometadata: don't copy trailing NULL of strings in xmp metadata
Stefan Kost [Wed, 7 Oct 2009 12:43:22 +0000 (15:43 +0300)]
metadata: don't copy trailing NULL of strings in xmp metadata

Also useing g_strdup, fixes the malloc <-> g_free mismatch.

15 years agobuild: fprintf, sprintf, sscanf need stdio.h
Stefan Kost [Wed, 7 Oct 2009 12:26:12 +0000 (15:26 +0300)]
build: fprintf, sprintf, sscanf need stdio.h

15 years agotests: Add test for mimic elements
Olivier Crête [Fri, 18 Sep 2009 22:45:09 +0000 (18:45 -0400)]
tests: Add test for mimic elements

15 years agomimenc: Remove invalid todo
Olivier Crête [Fri, 18 Sep 2009 21:47:58 +0000 (17:47 -0400)]
mimenc: Remove invalid todo

15 years agompegtsparse: Ignore emphasis on/off bytes, and do fallback string encoding.
Sebastian Pölsterl [Tue, 6 Oct 2009 16:36:15 +0000 (18:36 +0200)]
mpegtsparse: Ignore emphasis on/off bytes, and do fallback string encoding.

For fallback, try ISO 8859-9 encoding if ISO 6637 failed.
Add more debug calls.

15 years agodirac: various fixes
David Schleef [Tue, 6 Oct 2009 00:04:28 +0000 (17:04 -0700)]
dirac: various fixes

 - Work around BaseEncoder bug not tracking frame index early.
 - Fix conversion of UYVY, YUY2, AYUV to internal format.

15 years agobasevideo: Revert "Call GstBaseVideoEncoder::start/stop during pad [de]activation."
David Schleef [Mon, 5 Oct 2009 23:16:34 +0000 (16:16 -0700)]
basevideo: Revert "Call GstBaseVideoEncoder::start/stop during pad [de]activation."

This reverts commit 4c087bcb072dcc9847b11c00123cf93c5e541dcb.
The reverted commit changes the order that set_format() and start()
are called, which is incorrect.  The correct order is set_format(),
start(), handle_frame()..., stop()

15 years agobasevideo: Free frame using utility function
David Schleef [Mon, 5 Oct 2009 20:33:22 +0000 (13:33 -0700)]
basevideo: Free frame using utility function

15 years agodiracenc: Fix caps unlinked negotiation
Jan Schmidt [Mon, 5 Oct 2009 20:11:18 +0000 (21:11 +0100)]
diracenc: Fix caps unlinked negotiation

move caps related code to gst_dirac_enc_set_format, and
use the source pad template to get allowed caps when there is
no peer pad.

15 years agoschroenc: When the source pad isn't linked, use the pad template
Jan Schmidt [Mon, 5 Oct 2009 18:49:06 +0000 (19:49 +0100)]
schroenc: When the source pad isn't linked, use the pad template

For negotiation, use the source pad pad template when it doesn't
have a peer.

15 years agobasevideo: Fail if caps don't contain a framerate field
Jan Schmidt [Mon, 5 Oct 2009 14:47:58 +0000 (15:47 +0100)]
basevideo: Fail if caps don't contain a framerate field

Return false from the caps parsing function if there is no framerate
field in the provided caps

15 years agoid3mux: Write UTF-16 byte order marker correctly.
Michael Smith [Mon, 5 Oct 2009 18:15:03 +0000 (11:15 -0700)]
id3mux: Write UTF-16 byte order marker correctly.

15 years agoschroenc: move caps related code to gst_schro_enc_set_format.
Alessandro Decina [Mon, 5 Oct 2009 14:39:37 +0000 (16:39 +0200)]
schroenc: move caps related code to gst_schro_enc_set_format.

15 years agoDepend on gtk-x11 explicitly.
Alessandro Decina [Mon, 5 Oct 2009 13:28:47 +0000 (15:28 +0200)]
Depend on gtk-x11 explicitly.

Fixes the build on OSX if gtk+-quartz is installed.

15 years agoFix compilation warning with gcc-4.2.
Alessandro Decina [Mon, 5 Oct 2009 13:26:15 +0000 (15:26 +0200)]
Fix compilation warning with gcc-4.2.

15 years agoAdd faac test binary to the git ignores
Jan Schmidt [Mon, 5 Oct 2009 10:47:56 +0000 (11:47 +0100)]
Add faac test binary to the git ignores

15 years agoUse GST_CXXFLAGS and GST_CFLAGS to pull in local gst-libs includes.
Jan Schmidt [Mon, 5 Oct 2009 10:47:01 +0000 (11:47 +0100)]
Use GST_CXXFLAGS and GST_CFLAGS to pull in local gst-libs includes.

Move the GST_CXXFLAGS and GST_CFLAGS to the start of the includes set
to pull in the local gst-libs from there first, instead of listing
it explicitly.

15 years agoFix CFLAGS and LDFLAGS for dirac/schrodinger
Jan Schmidt [Mon, 5 Oct 2009 10:02:16 +0000 (11:02 +0100)]
Fix CFLAGS and LDFLAGS for dirac/schrodinger

Include the local headers and libs before ones outside this
module.

15 years agodirac: convert to BaseVideoEncoder
David Schleef [Fri, 2 Oct 2009 23:35:09 +0000 (16:35 -0700)]
dirac: convert to BaseVideoEncoder

15 years agocog: hacking
David Schleef [Sun, 27 Sep 2009 21:25:39 +0000 (14:25 -0700)]
cog: hacking

Add RGB to YCbCr matrixing
Add tiny color management system (CMS) for video
Add quality level for colorspace

15 years agocog: reset cache instead of returning NULL
David Schleef [Sat, 26 Sep 2009 01:14:28 +0000 (18:14 -0700)]
cog: reset cache instead of returning NULL

Returning NULL makes things crash.  Resetting the cache
makes things run slow.  Still an underlying bug somewhere,
but not critical.

15 years agoceltdec: Handle lookahead, discont
David Schleef [Wed, 23 Sep 2009 20:17:54 +0000 (13:17 -0700)]
celtdec: Handle lookahead, discont

15 years agobuild: add missing stdlib include to fix the build
Stefan Kost [Fri, 2 Oct 2009 16:08:21 +0000 (19:08 +0300)]
build: add missing stdlib include to fix the build

15 years agoAdd GstBaseVideoDecoder::set_sink_caps vfunc.
Alessandro Decina [Fri, 2 Oct 2009 12:25:50 +0000 (14:25 +0200)]
Add GstBaseVideoDecoder::set_sink_caps vfunc.

15 years agoCall GstBaseVideoDecoder::start/stop during pad [de]activation.
Alessandro Decina [Fri, 2 Oct 2009 10:40:02 +0000 (12:40 +0200)]
Call GstBaseVideoDecoder::start/stop during pad [de]activation.

15 years agoDon't ignore the value returned from GstBaseVideoEncoder::set_format.
Alessandro Decina [Thu, 1 Oct 2009 14:06:02 +0000 (16:06 +0200)]
Don't ignore the value returned from GstBaseVideoEncoder::set_format.

15 years agoFix schroenc for refcount change in GstBaseVideoEncoder.
Alessandro Decina [Thu, 1 Oct 2009 14:12:15 +0000 (16:12 +0200)]
Fix schroenc for refcount change in GstBaseVideoEncoder.

15 years agoUnref frame->sink_buffer in gst_base_video_encoder_finish_frame
Alessandro Decina [Thu, 1 Oct 2009 13:50:55 +0000 (15:50 +0200)]
Unref frame->sink_buffer in gst_base_video_encoder_finish_frame

15 years agoMake gst_schro_enc_handle_frame return GstFlowReturn.
Alessandro Decina [Thu, 1 Oct 2009 14:11:46 +0000 (16:11 +0200)]
Make gst_schro_enc_handle_frame return GstFlowReturn.

15 years agoMake GstBaseVideoEncoder::handle_frame return GstFlowReturn
Alessandro Decina [Thu, 1 Oct 2009 14:26:22 +0000 (16:26 +0200)]
Make GstBaseVideoEncoder::handle_frame return GstFlowReturn

15 years agoCall GstBaseVideoEncoder::start/stop during pad [de]activation.
Alessandro Decina [Thu, 1 Oct 2009 14:24:50 +0000 (16:24 +0200)]
Call GstBaseVideoEncoder::start/stop during pad [de]activation.

15 years agoFix a compiler warning.
Alessandro Decina [Fri, 2 Oct 2009 10:04:28 +0000 (12:04 +0200)]
Fix a compiler warning.

15 years agozbar: post a message instead of printing the code to stdout
Stefan Kost [Fri, 2 Oct 2009 10:02:31 +0000 (13:02 +0300)]
zbar: post a message instead of printing the code to stdout

Docment the message format that we sent. Add a property to turn message sending off.

15 years agodocs: update plugin doc scan files
Stefan Kost [Fri, 2 Oct 2009 08:23:49 +0000 (11:23 +0300)]
docs: update plugin doc scan files

15 years agozbar: cleanups
Stefan Kost [Fri, 2 Oct 2009 08:22:48 +0000 (11:22 +0300)]
zbar: cleanups

Use start/stop to manage the cache. Few code cleanups and comments.

15 years agodocs: add zbar plugin
Stefan Kost [Fri, 2 Oct 2009 08:09:11 +0000 (11:09 +0300)]
docs: add zbar plugin

15 years agozbar: add new plugin to the build here too
Stefan Kost [Fri, 2 Oct 2009 07:37:43 +0000 (10:37 +0300)]
zbar: add new plugin to the build here too

15 years agodocs: keep list sorted
Stefan Kost [Fri, 2 Oct 2009 07:32:37 +0000 (10:32 +0300)]
docs: keep list sorted

15 years agoconfigure.ac: Fix build system, zbar is no dependency-less plugin
Sebastian Dröge [Fri, 2 Oct 2009 05:46:17 +0000 (07:46 +0200)]
configure.ac: Fix build system, zbar is no dependency-less plugin

15 years agozbar: wrap zbar library as a image analyzer
Stefan Kost [Thu, 1 Oct 2009 20:51:04 +0000 (23:51 +0300)]
zbar: wrap zbar library as a image analyzer

zbar is a bar code scanner library.

15 years agoupdate spec file with latest changes and
Christian F.K. Schaller [Thu, 1 Oct 2009 16:19:54 +0000 (17:19 +0100)]
update spec file with latest changes and
remove file from MANIFEST which isn't there
any longer

15 years agometadata: change XMP location tags to start with capitals
Tommi Myöhänen [Wed, 2 Sep 2009 12:26:15 +0000 (15:26 +0300)]
metadata: change XMP location tags to start with capitals

15 years agocamerabin: fix deadlock when error occurs at video recording startup
Lasse Laukkanen [Tue, 25 Aug 2009 07:10:15 +0000 (10:10 +0300)]
camerabin: fix deadlock when error occurs at video recording startup