projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
55037ab
)
x264enc: Don't unref future state but the old one
author
Mathieu Duponchelle
<mathieu.duponchelle@epitech.eu>
Thu, 5 Sep 2013 20:56:48 +0000
(22:56 +0200)
committer
Sebastian Dröge
<slomo@circular-chaos.org>
Thu, 5 Sep 2013 20:56:48 +0000
(22:56 +0200)
Being silly will lead us nowhere.
ext/x264/gstx264enc.c
patch
|
blob
|
history
diff --git
a/ext/x264/gstx264enc.c
b/ext/x264/gstx264enc.c
index
29b4c21
..
6d527a1
100644
(file)
--- a/
ext/x264/gstx264enc.c
+++ b/
ext/x264/gstx264enc.c
@@
-1676,7
+1676,7
@@
gst_x264_enc_set_format (GstVideoEncoder * video_enc,
}
if (encoder->input_state)
- gst_video_codec_state_unref (state);
+ gst_video_codec_state_unref (
encoder->input_
state);
encoder->input_state = gst_video_codec_state_ref (state);
encoder->peer_profile = NULL;