mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 07:16:55 +00:00
ffmpegenc: Don't try to set caps to NULL
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=682736
This commit is contained in:
parent
6d1203e5ab
commit
ed1ea6f097
1 changed files with 0 additions and 3 deletions
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue