Skip to content

Commit

Permalink
clarify warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Lawrence D'Oliveiro committed Sep 3, 2011
1 parent f38cd80 commit 3ea0113
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/dvdvob.c
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -1648,7 +1648,7 @@ int FindVobus(const char *fbase, struct vobgroup *va, vtypes ismenu)
memcpy(mp2hdr[index].buf, buf + dptr + len - 3, 3); memcpy(mp2hdr[index].buf, buf + dptr + len - 3, 3);
audiodesc_set_audio_attr(&thisvob->audch[audch].ad, &thisvob->audch[audch]. adwarn, AUDIO_SAMPLERATE, "48khz"); audiodesc_set_audio_attr(&thisvob->audch[audch].ad, &thisvob->audch[audch]. adwarn, AUDIO_SAMPLERATE, "48khz");
} /*if*/ } /*if*/
/* at this point, pts1 is the duration of the audio in the packet */ /* at this point, pts1 is the duration of the audio in the packet (0 for subpicture) */
if (haspts) if (haspts)
{ {
pts0 = readpts(buf + 23 + sysoffs); pts0 = readpts(buf + 23 + sysoffs);
Expand Down Expand Up @@ -1707,8 +1707,9 @@ int FindVobus(const char *fbase, struct vobgroup *va, vtypes ismenu)
fprintf fprintf
( (
stderr, stderr,
"WARN: Audio pts for channel %d moves backwards by %" "WARN: %s pts for channel %d moves backwards by %"
PRId64 "; please remultiplex input.\n", PRId64 "; please remultiplex input.\n",
audch >= 32 ? "Subpicture" : "Audio",
audch, audch,
ach->audpts[ach->numaudpts - 1].pts[1] - pts0 ach->audpts[ach->numaudpts - 1].pts[1] - pts0
); );
Expand Down

0 comments on commit 3ea0113

Please sign in to comment.