Skip to content

Commit

Permalink
fast channel switch, make sure extradata is decoded
Browse files Browse the repository at this point in the history
  • Loading branch information
FernetMenta committed Oct 11, 2014
1 parent d35a237 commit dd45fea
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion xbmc/cores/dvdplayer/DVDDemuxers/DVDDemuxFFmpeg.cpp
Expand Up @@ -1572,7 +1572,8 @@ void CDVDDemuxFFmpeg::ParsePacket(AVPacket *pkt)
// We don't need to actually decode here
// we just want to transport SPS data into codec context
st->codec->skip_idct = AVDISCARD_ALL;
st->codec->skip_frame = AVDISCARD_ALL;
// extradata is not decoded if skip_frame >= AVDISCARD_NONREF
// st->codec->skip_frame = AVDISCARD_ALL;
st->codec->skip_loop_filter = AVDISCARD_ALL;

// We are looking for an IDR frame
Expand Down

0 comments on commit dd45fea

Please sign in to comment.