diff options
author | Wim Taymans <wim.taymans@collabora.co.uk> | 2009-12-11 12:02:15 +0100 |
---|---|---|
committer | Wim Taymans <wim.taymans@collabora.co.uk> | 2009-12-11 12:20:13 +0100 |
commit | e897373a0a0218f84d42b51bda85f15e84f7e7d7 (patch) | |
tree | a4e38b25a0d23fc34167ebc73b878900336bde98 | |
parent | 118b62a7640d5735550f69a5aae8b3620d32d89a (diff) |
ogg: ogm video has constant packet duration
-rw-r--r-- | ext/ogg/gstoggstream.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/ogg/gstoggstream.c b/ext/ogg/gstoggstream.c index faf4db36..50a132f3 100644 --- a/ext/ogg/gstoggstream.c +++ b/ext/ogg/gstoggstream.c @@ -726,9 +726,9 @@ gst_ogg_map_add_fisbone (GstOggStream * pad, static gboolean 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 FALSE; } @@ -1222,7 +1222,7 @@ static const GstOggMap mappers[] = { granule_to_granulepos_default, NULL, is_header_ogm, - packet_duration_ogm + packet_duration_constant }, { "\001text\0\0\0", 9, 9, |