<div dir="ltr">Hi,<div><br></div><div>I found some inconsistency in the libgstreamer0.10-dev package. The package version is 0.10.36. But the header file shows 0.10.21. How would one fix such problem?</div><div><br></div><div>By the way, I encountered the problem on 64-bit ubuntu 12.04.5 LTS. For comparison, I installed the same package libgstreamer0.10-dev on 32-bit ubuntu 12.04.4 LTS and found the header file consistent with the package version number.</div><div><br></div><div>The following is what I observed on 64-bit ubuntu:</div><div><br></div># dpkg -S /usr/include/gstreamer-0.10/gst/gstversion.h<br>libgstreamer0.10-dev: /usr/include/gstreamer-0.10/gst/gstversion.h<br><div><br></div><div>







# dpkg -s libgstreamer0.10-dev<br>Package: libgstreamer0.10-dev<br>Status: install ok installed<br>Priority: optional<br>Section: libdevel<br>Installed-Size: 6257<br>Maintainer: Ubuntu Developers <<a href="mailto:ubuntu-devel-discuss@lists.ubuntu.com">ubuntu-devel-discuss@lists.ubuntu.com</a>><br>Architecture: amd64<br>Source: gstreamer0.10<br>Version: 0.10.36-1ubuntu1Replaces: gobject-introspection-repository (<< 0.6.5-2), gstreamer-tools (<< 0.10.20-2)<br>Depends: libgstreamer0.10-0 (= 0.10.36-1ubuntu1), libc6-dev | libc-dev, pkg-config, libglib2.0-dev, libxml2-dev, libc6 (>= 2.2.5), libglib2.0-0 (>= 2.24), gir1.2-gstreamer-0.10 (= 0.10.36-1ubuntu1)<br>Recommends: debhelper<br>Suggests: gstreamer0.10-doc<br>Description: GStreamer core development files<br> GStreamer is a streaming media framework, based on graphs of filters<br> which operate on media data.  Applications using this library can do<br> anything from real-time sound processing to playing videos, and just<br> about anything else media-related.  Its plugin-based architecture means<br> that new data types or processing capabilities can be added simply by<br> installing new plug-ins.<br> .<br> This package contains development files for the core library and<br> elements.<br>Homepage: <a href="http://gstreamer.freedesktop.org">http://gstreamer.freedesktop.org</a><br>Original-Maintainer: Maintainers of GStreamer packages <<a href="mailto:pkg-gstreamer-maintainers@lists.alioth.debian.org">pkg-gstreamer-maintainers@lists.alioth.debian.org</a>></div><div><br></div><div>







# cat /usr/include/gstreamer-0.10/gst/gstversion.h <br>/* GStreamer<br> * Copyright (C) 1999,2000 Erik Walthinsen <<a href="mailto:omega@cse.ogi.edu">omega@cse.ogi.edu</a>><br> *                    2000 Wim Taymans <<a href="mailto:wtay@chello.be">wtay@chello.be</a>><br> *<br> * gstversion.h: Version information for GStreamer<br> *<br> * This library is free software; you can redistribute it and/or<br> * modify it under the terms of the GNU Library General Public<br> * License as published by the Free Software Foundation; either<br> * version 2 of the License, or (at your option) any later version.<br> *<br> * This library is distributed in the hope that it will be useful,<br> * but WITHOUT ANY WARRANTY; without even the implied warranty of<br> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU<br> * Library General Public License for more details.<br> *<br> * You should have received a copy of the GNU Library General Public<br> * License along with this library; if not, write to the<br> * Free Software Foundation, Inc., 59 Temple Place - Suite 330,<br> * Boston, MA 02111-1307, USA.<br> */<br>/**<br> * SECTION:gstversion<br> * @short_description: GStreamer version macros.<br> *<br> * Use the GST_VERSION_* macros e.g. when defining own plugins. The GStreamer<br> * runtime checks if these plugin and core version match and refuses to use a<br> * plugin compiled against a different version of GStreamer.<br> * You can also use the macros to keep the GStreamer version information in<br> * your application.<br> *<br> * Use the gst_version() function if you want to know which version of<br> * GStreamer you are currently linked against.<br> *<br> * The version macros get defined by including "gst/gst.h".<br> */<br><br>#ifndef __GST_VERSION_H__<br>#define __GST_VERSION_H__<br><br>G_BEGIN_DECLS<br><br>/**<br> * GST_VERSION_MAJOR:<br> *<br> * The major version of GStreamer at compile time:<br> */<br>#define GST_VERSION_MAJOR (0)<br>/** * GST_VERSION_MINOR:<br> *<br> * The minor version of GStreamer at compile time:<br> */<br>#define GST_VERSION_MINOR (10)<br>/**<br> * GST_VERSION_MICRO:<br> *<br> * The micro version of GStreamer at compile time:<br> */<br>#define GST_VERSION_MICRO (21)<br>/**<br> * GST_VERSION_NANO:<br> *<br> * The nano version of GStreamer at compile time:<br> * Actual releases have 0, CVS versions have 1, prerelease versions have 2-...<br> */<br>#define GST_VERSION_NANO (0)<br><br>/**<br> * GST_CHECK_VERSION:<br> * @major: a number indicating the major version<br> * @minor: a number indicating the minor version<br> * @micro: a number indicating the micro version<br> *<br> * Check whether a GStreamer version equal to or greater than<br> * major.minor.micro is present.<br> *<br> * Since: 0.10.18<br> */<br>#define GST_CHECK_VERSION(major,minor,micro) \<br>    (GST_VERSION_MAJOR > (major) || \<br>     (GST_VERSION_MAJOR == (major) && GST_VERSION_MINOR > (minor)) || \<br>     (GST_VERSION_MAJOR == (major) && GST_VERSION_MINOR == (minor) && \<br>      GST_VERSION_MICRO >= (micro)))<br><br>G_END_DECLS<br><br>#endif /* __GST_VERSION_H__ */</div></div>