From 7f82fe3b46e74a9647a693fdf72f954f648ce87c Mon Sep 17 00:00:00 2001 From: Mark Nauwelaerts Date: Mon, 1 Jun 2009 22:42:08 +0200 Subject: gppmux: enhance ftyp brand heuristic. Fixes #584360. --- gst/qtmux/atoms.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'gst/qtmux/atoms.c') diff --git a/gst/qtmux/atoms.c b/gst/qtmux/atoms.c index a5d8fe38..47db40ce 100644 --- a/gst/qtmux/atoms.c +++ b/gst/qtmux/atoms.c @@ -2783,6 +2783,9 @@ atom_trak_set_audio_type (AtomTRAK * trak, AtomsContext * context, atom_trak_set_audio_commons (trak, context, scale); ste = atom_trak_add_audio_entry (trak, context, entry->fourcc); + trak->is_video = FALSE; + trak->is_h264 = FALSE; + ste->version = entry->version; ste->compression_id = entry->compression_id; ste->sample_size = entry->sample_size; @@ -2811,6 +2814,9 @@ atom_trak_set_video_type (AtomTRAK * trak, AtomsContext * context, entry->height); ste = atom_trak_add_video_entry (trak, context, entry->fourcc); + trak->is_video = TRUE; + trak->is_h264 = (entry->fourcc == FOURCC_avc1); + ste->width = entry->width; ste->height = entry->height; ste->depth = entry->depth; -- cgit v1.2.1