if (msg->av_format_change_timing) {
g_string_append_printf (lines, "wfd_av_format_change_timing");
g_string_append_printf (lines, ":");
- g_string_append_printf (lines, " %10llu",
+ g_string_append_printf (lines, " %10"G_GUINT64_FORMAT,
msg->av_format_change_timing->PTS);
- g_string_append_printf (lines, " %10llu",
+ g_string_append_printf (lines, " %10"G_GUINT64_FORMAT,
msg->av_format_change_timing->DTS);
g_string_append_printf (lines, "\r\n");
}
g_string_append_printf (lines, "wfd_preferred_display_mode");
g_string_append_printf (lines, ":");
if (msg->preferred_display_mode->displaymodesupported) {
- g_string_append_printf (lines, " %06llu",
+ g_string_append_printf (lines, " %06"G_GUINT64_FORMAT,
msg->preferred_display_mode->p_clock);
g_string_append_printf (lines, " %04x", msg->preferred_display_mode->H);
g_string_append_printf (lines, " %04x", msg->preferred_display_mode->HB);
GstRTSPResult res = GST_RTSP_OK;
GstRTSPWFDClientPrivate *priv = GST_RTSP_WFD_CLIENT_GET_PRIVATE (client);
priv->video_resolution_supported = supported_reso;
- GST_DEBUG ("Resolution : %lld", supported_reso);
+ GST_DEBUG ("Resolution : %"G_GUINT64_FORMAT, supported_reso);
return res;
}
}
GST_INFO_OBJECT (factory, "audio device : %s", priv->audio_device);
- GST_INFO_OBJECT (factory, "audio latency time : %lld",
+ GST_INFO_OBJECT (factory, "audio latency time : %"G_GUINT64_FORMAT,
priv->audio_latency_time);
- GST_INFO_OBJECT (factory, "audio_buffer_time : %lld",
+ GST_INFO_OBJECT (factory, "audio_buffer_time : %"G_GUINT64_FORMAT,
priv->audio_buffer_time);
GST_INFO_OBJECT (factory, "audio_do_timestamp : %d",
priv->audio_do_timestamp);
LDFLAGS+="-Wl,--rpath=%{_prefix}/lib -Wl,--hash-style=both -Wl,--as-needed"; export LDFLAGS
# always enable sdk build. This option should go away
-./configure --enable-sdk --prefix=%{_prefix} --disable-static
+%configure --disable-static
# Call make instruction with smp support
-#make %{?jobs:-j%jobs}
-make
+make %{?jobs:-j%jobs}
%install
rm -rf %{buildroot}
+++ /dev/null
-%define gst_majorminor 1.0
-
-Name: gstreamer-rtsp-server
-Version: 1.4.1
-Release: 1%{?dist}
-Summary: GStreamer based RTSP server
-Vendor: Collabora Multimedia
-Group: Applications/Multimedia
-License: LGPLv2+
-Source0: gst-rtsp-%{version}.tar.bz2
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-BuildRequires: gstreamer-devel >= 0.10.11
-
-
-%description
-This is a RTSP server using the GStreamer framework.
-
-
-%prep
-%setup -q -n gst-rtsp-%{version}
-
-
-%build
-%configure
-
-make
-
-%install
-%makeinstall
-
-# Clean out files that should not be part of the rpm.
-rm -f $RPM_BUILD_ROOT%{_libdir}/gstreamer-%{majorminor}/*.a
-rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
-rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
-
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-
-%post -p /sbin/ldconfig
-
-
-%postun -p /sbin/ldconfig
-
-
-%files
-%defattr(-,root,root,-)
-%doc AUTHORS COPYING README INSTALL docs/design/gst-rtp-server-design
-%{_bindir}/gst-rtsp-server
-
-%changelog
-* Thu Oct 9 2008 Christian Schaller <christian.schaller@collabora.co.uk>
-- First spec file
+++ /dev/null
-%define gst_majorminor @GST_API_VERSION@
-
-Name: gstreamer-rtsp-server
-Version: @VERSION@
-Release: 1%{?dist}
-Summary: GStreamer based RTSP server
-Vendor: Collabora Multimedia
-Group: Applications/Multimedia
-License: LGPLv2+
-Source0: gst-rtsp-%{version}.tar.bz2
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-BuildRequires: gstreamer-devel >= 0.10.11
-
-
-%description
-This is a RTSP server using the GStreamer framework.
-
-
-%prep
-%setup -q -n gst-rtsp-%{version}
-
-
-%build
-%configure
-
-make
-
-%install
-%makeinstall
-
-# Clean out files that should not be part of the rpm.
-rm -f $RPM_BUILD_ROOT%{_libdir}/gstreamer-%{majorminor}/*.a
-rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
-rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
-
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-
-%post -p /sbin/ldconfig
-
-
-%postun -p /sbin/ldconfig
-
-
-%files
-%defattr(-,root,root,-)
-%doc AUTHORS COPYING README INSTALL docs/design/gst-rtp-server-design
-%{_bindir}/gst-rtsp-server
-
-%changelog
-* Thu Oct 9 2008 Christian Schaller <christian.schaller@collabora.co.uk>
-- First spec file