projects
/
framework
/
multimedia
/
libmm-player.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ab3eaf4
)
add missed codes from previous patch
author
Younghwan Ahn
<younghwan_.an@samsung.com>
Sat, 22 Dec 2012 07:59:35 +0000
(16:59 +0900)
committer
Younghwan Ahn
<younghwan_.an@samsung.com>
Sat, 22 Dec 2012 08:08:17 +0000
(17:08 +0900)
Change-Id: I65b7f85be4d09fb2f8282441070a4b0daeccc9e6
src/mm_player_priv.c
patch
|
blob
|
history
diff --git
a/src/mm_player_priv.c
b/src/mm_player_priv.c
index
2051156
..
459fcac
100755
(executable)
--- a/
src/mm_player_priv.c
+++ b/
src/mm_player_priv.c
@@
-2959,8
+2959,11
@@
__mmplayer_gst_create_audio_pipeline(mm_player_t* player)
{
MMPLAYER_LOG_GST_CAPS_TYPE(caps);
GstStructure *str = gst_caps_get_structure(caps, 0);
- gst_structure_get_int (str, "channels", &channels);
+ if (str)
+ gst_structure_get_int (str, "channels", &channels);
+ gst_caps_unref(caps);
}
+ gst_object_unref(srcpad);
}
}