* Parses the 'subtitle->palette' information from the specific VOB subtitle track's private data. * Returns 0 if successful or 1 if parsing failed or was incomplete. */
| 5763 | * Returns 0 if successful or 1 if parsing failed or was incomplete. |
| 5764 | */ |
| 5765 | static int ffmpeg_parse_vobsub_extradata( AVCodecParameters *codecpar, |
| 5766 | hb_subtitle_t *subtitle ) |
| 5767 | { |
| 5768 | // XXX: Better if we actually chose the correct parser based on the input container |
| 5769 | return |
| 5770 | ffmpeg_parse_vobsub_extradata_mkv(codecpar, subtitle) && |
| 5771 | ffmpeg_parse_vobsub_extradata_mp4(codecpar, subtitle); |
| 5772 | } |
| 5773 | |
| 5774 | static void add_ffmpeg_subtitle( hb_title_t *title, hb_stream_t *stream, int id ) |
| 5775 | { |
no test coverage detected