diff options
author | eunhae choi <eunhae1.choi@samsung.com> | 2019-08-14 11:13:30 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@review.ap-northeast-2.compute.internal> | 2019-08-14 11:13:30 +0000 |
commit | 02ca170dea3ce3e5ee00c655eeebb12b88a8dd88 (patch) | |
tree | 18e218f5bc0ba53c53648824b2cc01f81feaba80 | |
parent | 5f9b7aa20c2d88c4291d341679dc1ed486918ae7 (diff) | |
parent | 8edcab4bc498c028c92f013d1069339bdc532d9d (diff) | |
download | libmm-player-02ca170dea3ce3e5ee00c655eeebb12b88a8dd88.tar.gz libmm-player-02ca170dea3ce3e5ee00c655eeebb12b88a8dd88.tar.bz2 libmm-player-02ca170dea3ce3e5ee00c655eeebb12b88a8dd88.zip |
Merge "Unref the pad for video capture before return" into tizen
-rw-r--r-- | src/mm_player_capture.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mm_player_capture.c b/src/mm_player_capture.c index 9e9d78d..dd24c0d 100644 --- a/src/mm_player_capture.c +++ b/src/mm_player_capture.c @@ -158,6 +158,8 @@ _mmplayer_do_video_capture(MMHandleType hplayer) } gst_sample_unref(sample); } + gst_object_unref(GST_OBJECT(pad)); + pad = NULL; return ret; } else { LOGW("invalid state(%d) to capture", player->state); |