projects
/
platform
/
upstream
/
gst-plugins-bad.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
10d02e3
)
applemedia: atdec: destroy the queue if set_format fails
author
Alessandro Decina
<alessandro.d@gmail.com>
Wed, 24 Jul 2013 07:18:43 +0000
(09:18 +0200)
committer
Alessandro Decina
<alessandro.d@gmail.com>
Wed, 24 Jul 2013 07:18:43 +0000
(09:18 +0200)
sys/applemedia/atdec.c
patch
|
blob
|
history
diff --git
a/sys/applemedia/atdec.c
b/sys/applemedia/atdec.c
index
25a8b87
..
15ca7d9
100644
(file)
--- a/
sys/applemedia/atdec.c
+++ b/
sys/applemedia/atdec.c
@@
-329,11
+329,13
@@
create_queue_error:
set_format_error:
GST_ELEMENT_ERROR (atdec, STREAM, FORMAT, (NULL),
("AudioQueueSetOfflineRenderFormat returned error: %d", status));
+ gst_atdec_destroy_queue (atdec, FALSE);
return FALSE;
start_error:
GST_ELEMENT_ERROR (atdec, STREAM, FORMAT, (NULL),
("AudioQueueStart returned error: %d", status));
+ gst_atdec_destroy_queue (atdec, FALSE);
return FALSE;
}