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:
832b423
)
avaudenc: Use gst_caps_fixate() instead of gst_caps_truncate()
author
Sebastian Dröge
<sebastian@centricular.com>
Tue, 5 Jul 2016 17:16:45 +0000
(20:16 +0300)
committer
Sebastian Dröge
<sebastian@centricular.com>
Tue, 5 Jul 2016 17:16:45 +0000
(20:16 +0300)
Just truncating might not be enough.
ext/libav/gstavaudenc.c
patch
|
blob
|
history
diff --git
a/ext/libav/gstavaudenc.c
b/ext/libav/gstavaudenc.c
index
1edbc90
..
0500a33
100644
(file)
--- a/
ext/libav/gstavaudenc.c
+++ b/
ext/libav/gstavaudenc.c
@@
-360,7
+360,7
@@
gst_ffmpegaudenc_set_format (GstAudioEncoder * encoder, GstAudioInfo * info)
gst_caps_unref (icaps);
return FALSE;
}
- icaps = gst_caps_
trunc
ate (icaps);
+ icaps = gst_caps_
fix
ate (icaps);
if (!gst_audio_encoder_set_output_format (GST_AUDIO_ENCODER (ffmpegaudenc),
icaps)) {