Hi Guys,

wxMediaCtrl is currently based on gstreamer-0.10 or gstreamer-0.8.  Recently
gstreamer-1.0 was rleleased and I would like to update wxMediaCtrl to use this
on Linux.

I`m looking at a script called ¨configure.in¨.  I guess that is what I need to
change before running perl Build.PL

I`m trying to update it for gstreamer-1.0.  I assume this script comes from
wxWidgets for the wxWidgets install.  What I like to do is make the changes at
the wxWidgets end if possible and allow it to cascade through.  I`ve posted some
changes on the wxWidgets website and I`m waiting for a response.

I`m going to work on the MediaCtrl section later because I assume that will need
to be updated, if only for the playbin2 thing, although really I like to be able
to pass a pipeline and replace playbin with gst-parse-launch, which would allow
any valid pipeline, but defaulting to playbin2.

In it there is a code-segment that looks like this:


dnl ---------------------------------------------------------------------------
dnl wxMediaCtrl
dnl ---------------------------------------------------------------------------

USE_MEDIA=0

if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
    USE_MEDIA=1

    dnl -----------------------------------------------------------------------
    dnl GStreamer
    dnl -----------------------------------------------------------------------
    if test "$wxUSE_GTK" = 1; then
        wxUSE_GSTREAMER="no"

        dnl -------------------------------------------------------------------
        dnl Test for at least 0.8 gstreamer module from pkg-config
        dnl Even totem doesn't accept 0.9 evidently.
        dnl
        dnl So, we first check to see if 0.10 if available - if not we
        dnl try the older 0.8 version
        dnl -------------------------------------------------------------------
        GST_VERSION_MAJOR=0
        GST_VERSION_MINOR=10
        GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
.
.
.
.
.
    fi
fi


Anyhow I tried to modify it unsuccessfully, even the error messages were wrong
so I guess I`ve misunderstood the wxPerl Build logic.

Does anyone know where to make changes to the build script, before running the
install?

I`ll let you know how it goes and let`s see if we can modify it.

Thanks very much.

Regards,

Steve.

Reply via email to