[gstreamer-bugs] [Bug 500808] New: gstmpeg2dec compile problem in MSVC 6.0
GStreamer (bugzilla.gnome.org)
bugzilla-daemon at bugzilla.gnome.org
Fri Nov 30 20:59:15 PST 2007
If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
http://bugzilla.gnome.org/show_bug.cgi?id=500808
GStreamer | gst-plugins-ugly | Ver: HEAD CVS
Summary: gstmpeg2dec compile problem in MSVC 6.0
Product: GStreamer
Version: HEAD CVS
Platform: Other
OS/Version: Windows
Status: UNCONFIRMED
Severity: trivial
Priority: Normal
Component: gst-plugins-ugly
AssignedTo: gstreamer-bugs at lists.sourceforge.net
ReportedBy: kwangyul.seo at gmail.com
QAContact: gstreamer-bugs at lists.sourceforge.net
GNOME version: Unspecified
GNOME milestone: Unspecified
MSVC 6.0 does not recognize the integer suffix LL used in MPEG_TIME_TO_GST_TIME
and GST_TIME_TO_MPEG_TIME macros.
The following fix solves the problem.
#ifndef _MSC_VER
# define LL(number) number ## LL
#else // if defined (_MSC_VER)
# define LL(number) number ## I64
#endif // _MSC_VER
#define MPEG_TIME_TO_GST_TIME(time) ((time) == -1 ? -1 : ((time) *
(GST_MSECOND/10)) / LL(9))
#define GST_TIME_TO_MPEG_TIME(time) ((time) == -1 ? -1 : ((time) * LL(9)) /
(GST_MSECOND/10))
--
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.
You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=500808.
More information about the Gstreamer-bugs
mailing list