ogg: ogm video has constant packet duration

This commit is contained in:
Wim Taymans 2009-12-11 12:02:15 +01:00
parent 118b62a764
commit e897373a0a

@ -726,9 +726,9 @@ gst_ogg_map_add_fisbone (GstOggStream * pad,
static gboolean static gboolean
is_header_ogm (GstOggStream * pad, ogg_packet * packet) is_header_ogm (GstOggStream * pad, ogg_packet * packet)
{ {
if (packet->bytes >= 1 && (packet->packet[0] & 0x01)) { if (packet->bytes >= 1 && (packet->packet[0] & 0x01))
return TRUE; return TRUE;
}
return FALSE; return FALSE;
} }
@ -1222,7 +1222,7 @@ static const GstOggMap mappers[] = {
granule_to_granulepos_default, granule_to_granulepos_default,
NULL, NULL,
is_header_ogm, is_header_ogm,
packet_duration_ogm packet_duration_constant
}, },
{ {
"\001text\0\0\0", 9, 9, "\001text\0\0\0", 9, 9,