Commit ed1ea6f0 authored by Sjoerd Simons's avatar Sjoerd Simons Committed by Wim Taymans
Browse files

ffmpegenc: Don't try to set caps to NULL

parent 6d1203e5
......@@ -249,9 +249,6 @@ gst_ffmpegaudenc_setcaps (GstFFMpegAudEnc * ffmpegaudenc, GstCaps * caps)
if (ffmpegaudenc->opened) {
gst_ffmpeg_avcodec_close (ffmpegaudenc->context);
ffmpegaudenc->opened = FALSE;
/* fixed src caps;
* so clear src caps for proper (re-)negotiation */
gst_pad_set_caps (ffmpegaudenc->srcpad, NULL);
/* set defaults */
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment