shaka-packager/packager/media/formats/mp4
Joey Parrish b6718a37c5 Accept language subtags
When normalizing language tags to their shortest form, we need to
split off subtags and treat them as separate components that do not
get changed.

Furthermore, MP4 can only store language tags without subtags.  So
only store the main language in MP4 output.

Fixes b/27533973

Change-Id: I96049e274aae9841e321c53039ef6464a2e61574
2016-03-09 23:23:12 +00:00
..
aac_audio_specific_config.cc Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
aac_audio_specific_config.h Move source code into packager directory 2014-10-02 12:32:14 -07:00
aac_audio_specific_config_unittest.cc Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
box.cc Define SampleEncryption 'senc' box 2015-12-31 01:26:18 +00:00
box.h Define SampleEncryption 'senc' box 2015-12-31 01:26:18 +00:00
box_buffer.h Replace vector_as_array(...) with vector::data() 2016-03-02 10:22:15 -08:00
box_definitions.cc Add support for v1 PSSH boxes. 2016-03-07 14:45:01 -08:00
box_definitions.h Add support for v1 PSSH boxes. 2016-03-07 14:45:01 -08:00
box_definitions_comparison.h Add support for v1 PSSH boxes. 2016-03-07 14:45:01 -08:00
box_definitions_unittest.cc Add support for v1 PSSH boxes. 2016-03-07 14:45:01 -08:00
box_reader.cc Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
box_reader.h Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
box_reader_unittest.cc Some code clean ups in box definitions 2015-12-21 18:40:05 +00:00
chunk_info_iterator.cc Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
chunk_info_iterator.h Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
chunk_info_iterator_unittest.cc Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
composition_offset_iterator.cc Handle large composition offset greater than (1<<31) properly 2015-08-07 18:51:49 +00:00
composition_offset_iterator.h Handle large composition offset greater than (1<<31) properly 2015-08-07 18:51:49 +00:00
composition_offset_iterator_unittest.cc Handle large composition offset greater than (1<<31) properly 2015-08-07 18:51:49 +00:00
decoding_time_iterator.cc Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
decoding_time_iterator.h Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
decoding_time_iterator_unittest.cc Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
encrypting_fragmenter.cc Read SPS/PPS Nalus from decoder configurations. 2016-03-04 18:41:50 +00:00
encrypting_fragmenter.h Moved Nalu data pointer position. 2016-02-23 10:48:14 -08:00
es_descriptor.cc Add support for DTS in ESDS. Needed to handle DTS audio generated by FFMPEG. 2016-01-06 22:30:52 +00:00
es_descriptor.h Add support for DTS in ESDS. Needed to handle DTS audio generated by FFMPEG. 2016-01-06 22:30:52 +00:00
es_descriptor_unittest.cc Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
fourccs.h Support Dolby audio Enhanced AC3 in ISO BMFF (Part 2) 2016-01-15 14:44:06 -08:00
fragmenter.cc Handle side data properly in webm 2016-01-09 00:32:08 +00:00
fragmenter.h Implement SampleEncryption box parsing and generation 2016-01-05 01:56:06 +00:00
key_rotation_fragmenter.cc Only encrypt video slice NAL units. 2016-02-22 21:52:05 +00:00
key_rotation_fragmenter.h Only encrypt video slice NAL units. 2016-02-22 21:52:05 +00:00
mp4.gyp Only encrypt video slice NAL units. 2016-02-22 21:52:05 +00:00
mp4_media_parser.cc Change FetchKey usages. 2016-03-08 21:45:05 +00:00
mp4_media_parser.h Handle possible NewSampleEvent before ParserInitEvent 2016-01-22 17:50:54 -08:00
mp4_media_parser_unittest.cc Handle possible NewSampleEvent before ParserInitEvent 2016-01-22 17:50:54 -08:00
mp4_muxer.cc Accept language subtags 2016-03-09 23:23:12 +00:00
mp4_muxer.h Add support for v1 PSSH boxes. 2016-03-07 14:45:01 -08:00
multi_segment_segmenter.cc Pass sample duration to MPD 2015-06-23 13:12:17 -07:00
multi_segment_segmenter.h Update code to resolve problems due to base updates. 2015-10-16 20:09:56 +00:00
rcheck.h Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
segmenter.cc Only encrypt video slice NAL units. 2016-02-22 21:52:05 +00:00
segmenter.h Add version information in generated outputs 2016-01-08 19:08:56 +00:00
single_segment_segmenter.cc Update code to resolve problems due to base updates. 2015-10-16 20:09:56 +00:00
single_segment_segmenter.h Update code to resolve problems due to base updates. 2015-10-16 20:09:56 +00:00
sync_sample_iterator.cc Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
sync_sample_iterator.h Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
sync_sample_iterator_unittest.cc Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
track_run_iterator.cc Add WebM decryption support 2016-01-21 16:59:58 -08:00
track_run_iterator.h Implement SampleEncryption box parsing and generation 2016-01-05 01:56:06 +00:00
track_run_iterator_unittest.cc Implement SampleEncryption box parsing and generation 2016-01-05 01:56:06 +00:00
video_slice_header_parser.cc Read SPS/PPS Nalus from decoder configurations. 2016-03-04 18:41:50 +00:00
video_slice_header_parser.h Only encrypt video slice NAL units. 2016-02-22 21:52:05 +00:00
video_slice_header_parser_unittest.cc Read SPS/PPS Nalus from decoder configurations. 2016-03-04 18:41:50 +00:00