[prev in list] [next in list] [prev in thread] [next in thread]
List: gstreamer-cvs
Subject: gst-plugins-good: matroskamux/demux: initialize dts_only
From: slomo () kemper ! freedesktop ! org (Sebastian Dröge)
Date: 2015-02-27 7:54:32
Message-ID: 20150227075432.28923763B7 () kemper ! freedesktop ! org
[Download RAW message or body]
Module: gst-plugins-good
Branch: master
Commit: e676b8ba9c1b5969611aab2f4e9ab3742968f1b0
URL: http://cgit.freedesktop.org/gstreamer/gst-plugins-good/commit/?id=e676b8ba9c1b5969611aab2f4e9ab3742968f1b0
Author: Nicola Murino <nicola.murino@gmail.com>
Date: Thu Feb 26 23:41:47 2015 +0100
matroskamux/demux: initialize dts_only
https://bugzilla.gnome.org/show_bug.cgi?id=745192
---
gst/matroska/matroska-demux.c | 1 +
gst/matroska/matroska-mux.c | 1 +
2 files changed, 2 insertions(+)
diff --git a/gst/matroska/matroska-demux.c b/gst/matroska/matroska-demux.c
index 3199540..06330c1 100644
--- a/gst/matroska/matroska-demux.c
+++ b/gst/matroska/matroska-demux.c
@@ -432,6 +432,7 @@ gst_matroska_demux_add_stream (GstMatroskaDemux * demux, \
GstEbmlRead * ebml) context->from_offset = -1;
context->to_offset = G_MAXINT64;
context->alignment = 1;
+ context->dts_only = FALSE;
demux->common.num_streams++;
g_assert (demux->common.src->len == demux->common.num_streams);
diff --git a/gst/matroska/matroska-mux.c b/gst/matroska/matroska-mux.c
index e55cd38..d446730 100644
--- a/gst/matroska/matroska-mux.c
+++ b/gst/matroska/matroska-mux.c
@@ -2299,6 +2299,7 @@ gst_matroska_mux_request_new_pad (GstElement * element,
collect_pad->track = context;
gst_matroska_pad_reset (collect_pad, FALSE);
collect_pad->track->codec_id = id;
+ collect_pad->track->dts_only = FALSE;
collect_pad->capsfunc = capsfunc;
gst_pad_set_active (GST_PAD (newpad), TRUE);
_______________________________________________
gstreamer-commits mailing list
gstreamer-commits@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/gstreamer-commits
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic