gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnash-commit] gnash ChangeLog gui/gtk.cpp


From: Bastiaan Jacques
Subject: Re: [Gnash-commit] gnash ChangeLog gui/gtk.cpp
Date: Mon, 17 Mar 2008 18:49:25 +0100 (CET)

The function gst_version_string() can be used for this purpose. It'll
return a string representation of the Gstreamer version against which
the application is currently linked. Of course you'll need to link
libgnashgui against Gstreamer to use this method...

Bastiaan

On Mon, 17 Mar 2008, strk wrote:

On Mon, Mar 17, 2008 at 05:41:03PM +0000, Benjamin Wolsey wrote:

+#ifdef HAVE_FFMPEG_AVCODEC_H
+extern "C" {
+# include "ffmpeg/avcodec.h" // Only for the version number
+}
+#endif
+
+#ifdef HAVE_GST_GST_H
+# include "gst/gstversion.h" // Only for the version number
+#endif

Best would be a runtime call to get version, if available.
So if you update gstreamer or ffmpeg libraries you get
the correct version, not freezed to the one found at compile-time.

--strk;


_______________________________________________
Gnash-commit mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/gnash-commit





reply via email to

[Prev in Thread] Current Thread [Next in Thread]