MCPcopy Create free account
hub / github.com/HandBrake/HandBrake / ffmpeg_parse_vobsub_extradata

Function ffmpeg_parse_vobsub_extradata

libhb/stream.c:5765–5772  ·  view source on GitHub ↗

* 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. */

Source from the content-addressed store, hash-verified

5763 * Returns 0 if successful or 1 if parsing failed or was incomplete.
5764 */
5765static 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
5774static void add_ffmpeg_subtitle( hb_title_t *title, hb_stream_t *stream, int id )
5775{

Callers 1

add_ffmpeg_subtitleFunction · 0.85

Tested by

no test coverage detected