matroskademux: Remove useless clearing of send_xiph_headers for Dirac

This looks like a mistake when copy-pasting the Theora code.

https://bugzilla.gnome.org/show_bug.cgi?id=632682
This commit is contained in:
Philip Jägenstedt 2010-10-20 10:21:48 +02:00 committed by Tim-Philipp Müller
parent 6cf398cdf3
commit 7fcd7d8cf2

View file

@ -6495,7 +6495,6 @@ gst_matroska_demux_video_caps (GstMatroskaTrackVideoContext *
context->send_xiph_headers = TRUE; context->send_xiph_headers = TRUE;
} else if (!strcmp (codec_id, GST_MATROSKA_CODEC_ID_VIDEO_DIRAC)) { } else if (!strcmp (codec_id, GST_MATROSKA_CODEC_ID_VIDEO_DIRAC)) {
caps = gst_caps_new_simple ("video/x-dirac", NULL); caps = gst_caps_new_simple ("video/x-dirac", NULL);
context->send_xiph_headers = FALSE;
*codec_name = g_strdup_printf ("Dirac"); *codec_name = g_strdup_printf ("Dirac");
} else if (!strcmp (codec_id, GST_MATROSKA_CODEC_ID_VIDEO_VP8)) { } else if (!strcmp (codec_id, GST_MATROSKA_CODEC_ID_VIDEO_VP8)) {
caps = gst_caps_new_simple ("video/x-vp8", NULL); caps = gst_caps_new_simple ("video/x-vp8", NULL);