diff options
author | elupus <elupus@svn> | 2010-03-30 21:13:01 +0000 |
---|---|---|
committer | elupus <elupus@svn> | 2010-03-30 21:13:01 +0000 |
commit | f0a3086fb75b76cdd0e163247d738ca10afa8d34 (patch) | |
tree | 0ec75ffe837b7bed0b0f7829b28704eef7aba6db | |
parent | 8143fb23df666a3c55b83c5e7f5d54039bd09265 (diff) |
fixed: when playing mpegts over rtp/rtsp/sdp, lavf must still read PAT/SDT to get available streams
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@28932 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
-rw-r--r-- | xbmc/cores/dvdplayer/Codecs/ffmpeg/libavformat/mpegts.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/xbmc/cores/dvdplayer/Codecs/ffmpeg/libavformat/mpegts.c b/xbmc/cores/dvdplayer/Codecs/ffmpeg/libavformat/mpegts.c index 1b53572289..8d792aae45 100644 --- a/xbmc/cores/dvdplayer/Codecs/ffmpeg/libavformat/mpegts.c +++ b/xbmc/cores/dvdplayer/Codecs/ffmpeg/libavformat/mpegts.c @@ -1757,6 +1757,9 @@ MpegTSContext *ff_mpegts_parse_open(AVFormatContext *s) ts->raw_packet_size = TS_PACKET_SIZE; ts->stream = s; ts->auto_guess = 1; + mpegts_open_section_filter(ts, SDT_PID, sdt_cb, ts, 1); + mpegts_open_section_filter(ts, PAT_PID, pat_cb, ts, 1); + return ts; } |