mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 16:01:20 +02:00
- record.cpp: align CODEC_ID defines to current ffmpeg code (thx to flk)
This commit is contained in:
@@ -1905,16 +1905,16 @@ void CStreamRec::FillMovieInfo(CZapitChannel * channel, APIDList & apid_list)
|
||||
desc += title->value;
|
||||
}
|
||||
switch(codec->codec_id) {
|
||||
case CODEC_ID_AC3:
|
||||
case AV_CODEC_ID_AC3:
|
||||
audio_pids.atype = 1;
|
||||
break;
|
||||
case CODEC_ID_AAC:
|
||||
case AV_CODEC_ID_AAC:
|
||||
audio_pids.atype = 5;
|
||||
break;
|
||||
case CODEC_ID_EAC3:
|
||||
case AV_CODEC_ID_EAC3:
|
||||
audio_pids.atype = 7;
|
||||
break;
|
||||
case CODEC_ID_MP2:
|
||||
case AV_CODEC_ID_MP2:
|
||||
default:
|
||||
audio_pids.atype = 0;
|
||||
break;
|
||||
@@ -1928,7 +1928,7 @@ void CStreamRec::FillMovieInfo(CZapitChannel * channel, APIDList & apid_list)
|
||||
|
||||
} else if (codec->codec_type == AVMEDIA_TYPE_VIDEO) {
|
||||
recMovieInfo->epgVideoPid = st->id;
|
||||
if (codec->codec_id == CODEC_ID_H264)
|
||||
if (codec->codec_id == AV_CODEC_ID_H264)
|
||||
recMovieInfo->VideoType = 1;
|
||||
printf("%s: [VIDEO] 0x%x \n", __FUNCTION__, recMovieInfo->epgVideoPid);
|
||||
}
|
||||
|
Reference in New Issue
Block a user