Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Index: gst-omx/omx/gstomxvideodec.c
- ===================================================================
- --- gst-omx.org/omx/gstomxvideodec.c 2013-12-04 00:22:26.341875959 +0000
- +++ gst-omx/omx/gstomxvideodec.c 2013-10-30 21:06:00.000000000 +0000
- @@ -2501,15 +2501,32 @@
- * parts of the caps have changed or nothing at all.
- */
- is_format_change |= port_def.format.video.nFrameWidth != info->width;
- +// GST_DEBUG_OBJECT (self, "%d", is_format_change);
- is_format_change |= port_def.format.video.nFrameHeight != info->height;
- +// GST_DEBUG_OBJECT (self, "%d", is_format_change);
- is_format_change |= (port_def.format.video.xFramerate == 0
- && info->fps_n != 0)
- || (port_def.format.video.xFramerate !=
- (info->fps_n << 16) / (info->fps_d));
- - is_format_change |= (self->codec_data != state->codec_data);
- +// GST_DEBUG_OBJECT (self, "%d", is_format_change);
- +// GST_DEBUG_OBJECT (self,"%p %p ", self->codec_data, state->codec_data);
- +// if(self->codec_data != NULL)
- +// {
- +// GST_DEBUG_OBJECT (self, "self:%d", gst_buffer_get_size (self->codec_data));
- +// }
- +// if(state->codec_data != NULL)
- +// {
- +// GST_DEBUG_OBJECT (self, "state:%d", gst_buffer_get_size (state->codec_data));
- +// }
- +
- +
- +
- +// is_format_change |= (self->codec_data != state->codec_data);
- +// GST_DEBUG_OBJECT (self, "%d", is_format_change);
- if (klass->is_format_change)
- is_format_change |=
- klass->is_format_change (self, self->dec_in_port, state);
- +// GST_DEBUG_OBJECT (self, "%d", is_format_change);
- needs_disable =
- gst_omx_component_get_state (self->dec,
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement