{
GstFlowReturn ret = GST_FLOW_OK;
GstVideoCodecState *state;
- GstVideoInfo *vinfo, *dinfo;
state = gst_video_decoder_get_output_state (GST_VIDEO_DECODER (mpeg2dec));
- vinfo = &state->info;
- dinfo = &mpeg2dec->decoded_info;
if (!mpeg2dec->need_cropping || mpeg2dec->has_cropping) {
ret =
const mpeg2_picture_t *picture;
gboolean key_frame = FALSE;
GstVideoCodecState *state;
- GstVideoInfo *vinfo, *dinfo;
GST_DEBUG_OBJECT (mpeg2dec, "picture slice/end %p %p %p %p",
info->display_fbuf, info->display_picture, info->current_picture,
}
state = gst_video_decoder_get_output_state (GST_VIDEO_DECODER (mpeg2dec));
- vinfo = &state->info;
- dinfo = &mpeg2dec->decoded_info;
/* do cropping if the target region is smaller than the input one */
if (mpeg2dec->need_cropping && !mpeg2dec->has_cropping) {