projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d96defb
)
qtmux: fix flags_as_uint to flags[]
author
Marc-André Lureau
<mlureau@flumotion.com>
Tue, 29 Sep 2009 13:47:13 +0000
(15:47 +0200)
committer
Mark Nauwelaerts
<mark.nauwelaerts@collabora.co.uk>
Wed, 30 Sep 2009 14:53:20 +0000
(16:53 +0200)
gst/qtmux/atoms.c
patch
|
blob
|
history
diff --git
a/gst/qtmux/atoms.c
b/gst/qtmux/atoms.c
index ad3e0108358b9ac08def8a0b5700092d130fdba8..838b50f180efa4bcdb7f8f40a783b8800b90ac59 100644
(file)
--- a/
gst/qtmux/atoms.c
+++ b/
gst/qtmux/atoms.c
@@
-1098,8
+1098,8
@@
atom_tag_new (guint32 fourcc, guint32 flags_as_uint)
tag->header.type = fourcc;
atom_tag_data_init (&tag->data);
tag->data.header.flags[2] = flags_as_uint & 0xFF;
- tag->data.header.flags[1] =
flags_as_uint & 0xFF00
;
- tag->data.header.flags[0] =
flags_as_uint & 0xFF0000
;
+ tag->data.header.flags[1] =
(flags_as_uint & 0xFF00) >> 8
;
+ tag->data.header.flags[0] =
(flags_as_uint & 0xFF0000) >> 16
;
return tag;
}