[gstreamer1.0-plugin-dvbmediasink] update srcrev.
[vuplus_openvuplus_3.0] / meta-openvuplus / recipes-multimedia / gstreamer / gstreamer1.0-plugin-dvbmediasink / dvbmediasink_divx4.patch
1 diff --git a/gstdvbvideosink.c b/gstdvbvideosink.c
2 index 61478f5..f50929e 100644
3 --- a/gstdvbvideosink.c
4 +++ b/gstdvbvideosink.c
5 @@ -306,7 +306,6 @@ static void gst_dvbvideosink_class_init(GstDVBVideoSinkClass *self)
6         gstbasesink_class->unlock = GST_DEBUG_FUNCPTR (gst_dvbvideosink_unlock);
7         gstbasesink_class->unlock_stop = GST_DEBUG_FUNCPTR (gst_dvbvideosink_unlock_stop);
8         gstbasesink_class->set_caps = GST_DEBUG_FUNCPTR (gst_dvbvideosink_set_caps);
9 -
10         element_class->change_state = GST_DEBUG_FUNCPTR (gst_dvbvideosink_change_state);
11  
12         gst_dvb_videosink_signals[SIGNAL_GET_DECODER_TIME] =
13 @@ -1633,6 +1632,10 @@ static gboolean gst_dvbvideosink_set_caps(GstBaseSink *basesink, GstCaps *caps)
14                                         gst_buffer_ref (self->codec_data);
15                                 }
16                                 GST_INFO_OBJECT (self, "MIMETYPE video/x-divx vers. 4 -> STREAMTYPE_MPEG4_Part2");
17 +#if GST_VERSION_MAJOR >= 1
18 +                               self->use_dts = TRUE;
19 +#endif
20 +
21                         break;
22                         case 6:
23                         case 5: