tsdemux: Add more AC3 detection cases
authorEdward Hervey <edward@collabora.com>
Mon, 29 Jul 2013 06:23:30 +0000 (08:23 +0200)
committerEdward Hervey <edward@collabora.com>
Mon, 29 Jul 2013 07:42:11 +0000 (09:42 +0200)
commitedd69b2989e9445d00a2a8740f0283747179431f
tree715db1509b8ebc1b2dd665a01b87a5dd2d48d511
parenta76c658e8d5fa1b533b0d54a947db50a29d9b369
tsdemux: Add more AC3 detection cases

ATSC ac3 streams are always guaranteed to be AC3 if EAC3 descriptor
is not present
If stream registration id is 'AC-3' then it's also guaranteed to be AC3.
Finally if AC3 descriptor is present it's guaranteed to be AC3.

Only silences a warning, but still.
gst/mpegtsdemux/gstmpegdesc.h
gst/mpegtsdemux/tsdemux.c