diff options
author | Edward Hervey <bilboed@bilboed.com> | 2009-06-05 22:20:46 +0200 |
---|---|---|
committer | Edward Hervey <bilboed@bilboed.com> | 2009-06-05 22:20:46 +0200 |
commit | 0aa62012c6ef195d489a8b0deff335c709865e89 (patch) | |
tree | 351fa2415809986f994b3d8413a42c0a0900790c | |
parent | 743bd6cc1049de0d29616645b468da031b5c8c01 (diff) | |
download | gst-plugins-bad-0aa62012c6ef195d489a8b0deff335c709865e89.tar.gz gst-plugins-bad-0aa62012c6ef195d489a8b0deff335c709865e89.tar.bz2 gst-plugins-bad-0aa62012c6ef195d489a8b0deff335c709865e89.zip |
hdvparse: Fix the build on Commander Thaytan's S10SP
-rw-r--r-- | gst/hdvparse/gsthdvparse.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gst/hdvparse/gsthdvparse.c b/gst/hdvparse/gsthdvparse.c index 27ba6d82..8114f3b8 100644 --- a/gst/hdvparse/gsthdvparse.c +++ b/gst/hdvparse/gsthdvparse.c @@ -278,7 +278,7 @@ parse_dv_multi_pack (GstHDVParse * filter, guint8 * data, guint64 size, GST_LOG (" Horizontal Panning : %d (0x%d)", h_pan, h_pan); GST_LOG (" Stabilizer : %s", is ? "OFF" : "ON"); if (focal_length != 0xff) - GST_LOG (" Focal Length : %d mm", + GST_LOG (" Focal Length : %f mm", (focal_length & 0x7f) * pow (10, focal_length & 0x80)); if (zen == 0) GST_LOG (" Electric Zoom %02dd.%03d", e_zoom >> 5, e_zoom & 0x1f); @@ -804,7 +804,8 @@ gst_hdvparse_parse (GstHDVParse * filter, GstBuffer * buf) size = 4; /* Size validation */ - GST_DEBUG ("kw:0x%x, insize:%d, offs:%d, size:%d", kw, insize, offs, size); + GST_DEBUG ("kw:0x%x, insize:%" G_GUINT64_FORMAT ", offs:%" G_GUINT64_FORMAT + ", size:%d", kw, insize, offs, size); if (insize < offs + size) { res = GST_FLOW_ERROR; goto beach; |