Commit aea3c907 authored by Adam Leggett's avatar Adam Leggett Committed by Jean-Baptiste Kempf

Fix crash when playing DCP with no audio; allow DCPs to

 not have audio
Signed-off-by: default avatarJean-Paul Saman <jpsaman@videolan.org>
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 4457f17d
This diff is collapsed.
...@@ -227,7 +227,7 @@ class Reel ...@@ -227,7 +227,7 @@ class Reel
{ {
public: public:
Reel(demux_t * demux, AssetList *asset_list, xml_reader_t *xmlReader) Reel(demux_t * demux, AssetList *asset_list, xml_reader_t *xmlReader)
: p_asset_list(asset_list), p_xmlReader(xmlReader), p_demux(demux) : p_asset_list(asset_list), p_xmlReader(xmlReader), p_demux(demux), p_picture_track(NULL), p_sound_track(NULL), p_subtitle_track(NULL)
{}; {};
int Parse(string p_node, int p_type); int Parse(string p_node, int p_type);
Asset * getTrack(TrackType_t e_track); Asset * getTrack(TrackType_t e_track);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment