mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 22:36:33 +00:00
gst/matroska/matroska-mux.c: Replace
Original commit message from CVS: 2005-11-20 Julien MOUTTE <julien@moutte.net> * gst/matroska/matroska-mux.c: (gst_matroska_mux_start): Replace GST_PAD_IS_USABLE by something approaching it.
This commit is contained in:
parent
985daa9d64
commit
7ab7f62dc2
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2005-11-20 Julien MOUTTE <julien@moutte.net>
|
||||
|
||||
* gst/matroska/matroska-mux.c: (gst_matroska_mux_start): Replace
|
||||
GST_PAD_IS_USABLE by something approaching it.
|
||||
|
||||
2005-11-20 Julien MOUTTE <julien@moutte.net>
|
||||
|
||||
* gst/matroska/matroska-mux.c: (gst_matroska_mux_start): Fix for
|
||||
|
|
|
@ -1087,7 +1087,8 @@ gst_matroska_mux_start (GstMatroskaMux * mux)
|
|||
collect_pad = (GstMatroskaPad *) collected->data;
|
||||
thepad = collect_pad->collect.pad;
|
||||
|
||||
if (collect_pad->track->codec_id != 0) {
|
||||
if (gst_pad_is_linked (thepad) && gst_pad_is_active (thepad) &&
|
||||
collect_pad->track->codec_id != 0) {
|
||||
collect_pad->track->num = tracknum++;
|
||||
child = gst_ebml_write_master_start (ebml, GST_MATROSKA_ID_TRACKENTRY);
|
||||
gst_matroska_mux_track_header (mux, collect_pad->track);
|
||||
|
|
Loading…
Reference in a new issue