[MOVED FROM BAD 065/134] basevideocodec: remove redundant caps field

... as it is already at hand as the src pad's negotiated caps.
This commit is contained in:
Mark Nauwelaerts 2011-03-23 09:45:20 +01:00 committed by Sebastian Dröge
parent 402879a52e
commit e68033782b

View file

@ -936,7 +936,8 @@ gst_vp8_enc_shape_output (GstBaseVideoEncoder * base_video_encoder,
gst_util_uint64_scale (frame->presentation_frame_number + 1,
GST_SECOND * state->fps_d, state->fps_n);
gst_buffer_set_caps (buf, GST_BASE_VIDEO_CODEC (base_video_encoder)->caps);
gst_buffer_set_caps (buf,
GST_PAD_CAPS (GST_BASE_VIDEO_CODEC_SRC_PAD (base_video_encoder)));
ret = gst_pad_push (GST_BASE_VIDEO_CODEC_SRC_PAD (base_video_encoder), buf);
if (ret != GST_FLOW_OK) {