adding media info pc files package them use ffmpegcolorspace in gstplay

Original commit message from CVS:
adding media info pc files
package them
use ffmpegcolorspace in gstplay
This commit is contained in:
Thomas Vander Stichele 2004-03-15 17:17:28 +00:00
parent 72ec4a2aa3
commit a56064d4fc
4 changed files with 62 additions and 29 deletions

View file

@ -1,3 +1,16 @@
2004-03-15 Thomas Vander Stichele <thomas at apestaart dot org>
* gst-libs/gst/play/play.c: (gst_play_pipeline_setup):
use the new ffmpegcolorspace
* gst-plugins.spec.in:
package new colorspace and media-info
* configure.ac:
* pkgconfig/Makefile.am:
fix some more disting issues
* pkgconfig/gstreamer-media-info-uninstalled.pc.in:
* pkgconfig/gstreamer-media-info.pc.in:
generate media-info pc files
2004-03-15 Johan Dahlin <johan@gnome.org> 2004-03-15 Johan Dahlin <johan@gnome.org>
* *.h: Revert indenting * *.h: Revert indenting

View file

@ -1578,14 +1578,6 @@ dnl #########################
AC_CONFIG_FILES( AC_CONFIG_FILES(
Makefile Makefile
pkgconfig/gstreamer-gconf.pc
pkgconfig/gstreamer-gconf-uninstalled.pc
pkgconfig/gstreamer-interfaces.pc
pkgconfig/gstreamer-interfaces-uninstalled.pc
pkgconfig/gstreamer-libs.pc
pkgconfig/gstreamer-libs-uninstalled.pc
pkgconfig/gstreamer-play.pc
pkgconfig/gstreamer-play-uninstalled.pc
gst-plugins.spec gst-plugins.spec
gst/Makefile gst/Makefile
gst/ac3parse/Makefile gst/ac3parse/Makefile
@ -1754,6 +1746,16 @@ tools/Makefile
gconf/Makefile gconf/Makefile
gconf/gstreamer.schemas gconf/gstreamer.schemas
pkgconfig/Makefile pkgconfig/Makefile
pkgconfig/gstreamer-gconf.pc
pkgconfig/gstreamer-gconf-uninstalled.pc
pkgconfig/gstreamer-interfaces.pc
pkgconfig/gstreamer-interfaces-uninstalled.pc
pkgconfig/gstreamer-libs.pc
pkgconfig/gstreamer-libs-uninstalled.pc
pkgconfig/gstreamer-media-info.pc
pkgconfig/gstreamer-media-info-uninstalled.pc
pkgconfig/gstreamer-play.pc
pkgconfig/gstreamer-play-uninstalled.pc
po/Makefile.in po/Makefile.in
) )
AC_OUTPUT AC_OUTPUT

View file

@ -191,12 +191,15 @@ gst_play_pipeline_setup (GstPlay * play, GError ** error)
GST_PLAY_MAKE_OR_ERROR (identity, "identity", "identity", error); GST_PLAY_MAKE_OR_ERROR (identity, "identity", "identity", error);
g_hash_table_insert (play->priv->elements, "identity", identity); g_hash_table_insert (play->priv->elements, "identity", identity);
identity_cs = gst_element_factory_make ("ffcolorspace", "identity_cs"); identity_cs = gst_element_factory_make ("ffmpegcolorspace", "identity_cs");
if (!GST_IS_ELEMENT (identity_cs)) { if (!GST_IS_ELEMENT (identity_cs)) {
identity_cs = gst_element_factory_make ("colorspace", "identity_cs"); identity_cs = gst_element_factory_make ("ffcolorspace", "identity_cs");
if (!GST_IS_ELEMENT (identity_cs)) { if (!GST_IS_ELEMENT (identity_cs)) {
gst_play_error_plugin ("colorspace", error); identity_cs = gst_element_factory_make ("colorspace", "identity_cs");
return FALSE; if (!GST_IS_ELEMENT (identity_cs)) {
gst_play_error_plugin ("colorspace", error);
return FALSE;
}
} }
} }
g_hash_table_insert (play->priv->elements, "identity_cs", identity_cs); g_hash_table_insert (play->priv->elements, "identity_cs", identity_cs);
@ -224,12 +227,15 @@ gst_play_pipeline_setup (GstPlay * play, GError ** error)
g_hash_table_insert (play->priv->elements, "vis_element", vis_element); g_hash_table_insert (play->priv->elements, "vis_element", vis_element);
/* Colorspace conversion */ /* Colorspace conversion */
vis_cs = gst_element_factory_make ("ffcolorspace", "vis_cs"); vis_cs = gst_element_factory_make ("ffmpegcolorspace", "vis_cs");
if (!GST_IS_ELEMENT (vis_cs)) { if (!GST_IS_ELEMENT (vis_cs)) {
vis_cs = gst_element_factory_make ("colorspace", "vis_cs"); vis_cs = gst_element_factory_make ("ffcolorspace", "vis_cs");
if (!GST_IS_ELEMENT (vis_cs)) { if (!GST_IS_ELEMENT (vis_cs)) {
gst_play_error_plugin ("colorspace", error); vis_cs = gst_element_factory_make ("colorspace", "vis_cs");
return FALSE; if (!GST_IS_ELEMENT (vis_cs)) {
gst_play_error_plugin ("colorspace", error);
return FALSE;
}
} }
} }
@ -256,12 +262,15 @@ gst_play_pipeline_setup (GstPlay * play, GError ** error)
g_hash_table_insert (play->priv->elements, "video_switch", video_switch); g_hash_table_insert (play->priv->elements, "video_switch", video_switch);
/* Colorspace conversion */ /* Colorspace conversion */
video_cs = gst_element_factory_make ("ffcolorspace", "video_cs"); video_cs = gst_element_factory_make ("ffmpegcolorspace", "video_cs");
if (!GST_IS_ELEMENT (video_cs)) { if (!GST_IS_ELEMENT (video_cs)) {
video_cs = gst_element_factory_make ("colorspace", "video_cs"); video_cs = gst_element_factory_make ("ffcolorspace", "video_cs");
if (!GST_IS_ELEMENT (video_cs)) { if (!GST_IS_ELEMENT (video_cs)) {
gst_play_error_plugin ("colorspace", error); video_cs = gst_element_factory_make ("colorspace", "video_cs");
return FALSE; if (!GST_IS_ELEMENT (video_cs)) {
gst_play_error_plugin ("colorspace", error);
return FALSE;
}
} }
} }
g_hash_table_insert (play->priv->elements, "video_cs", video_cs); g_hash_table_insert (play->priv->elements, "video_cs", video_cs);
@ -272,12 +281,15 @@ gst_play_pipeline_setup (GstPlay * play, GError ** error)
g_hash_table_insert (play->priv->elements, "video_balance", video_balance); g_hash_table_insert (play->priv->elements, "video_balance", video_balance);
/* Colorspace conversion */ /* Colorspace conversion */
balance_cs = gst_element_factory_make ("ffcolorspace", "balance_cs"); balance_cs = gst_element_factory_make ("ffmpegcolorspace", "balance_cs");
if (!GST_IS_ELEMENT (balance_cs)) { if (!GST_IS_ELEMENT (balance_cs)) {
balance_cs = gst_element_factory_make ("colorspace", "balance_cs"); balance_cs = gst_element_factory_make ("ffcolorspace", "balance_cs");
if (!GST_IS_ELEMENT (balance_cs)) { if (!GST_IS_ELEMENT (balance_cs)) {
gst_play_error_plugin ("colorspace", error); balance_cs = gst_element_factory_make ("colorspace", "balance_cs");
return FALSE; if (!GST_IS_ELEMENT (balance_cs)) {
gst_play_error_plugin ("colorspace", error);
return FALSE;
}
} }
} }
g_hash_table_insert (play->priv->elements, "balance_cs", balance_cs); g_hash_table_insert (play->priv->elements, "balance_cs", balance_cs);

View file

@ -100,8 +100,6 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/gstreamer-%{majorminor}/*.la
rm -f $RPM_BUILD_ROOT%{_libdir}/gstreamer-%{majorminor}/*.a rm -f $RPM_BUILD_ROOT%{_libdir}/gstreamer-%{majorminor}/*.a
rm -f $RPM_BUILD_ROOT%{_libdir}/*.a rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
rm -f $RPM_BUILD_ROOT%{_includedir}/gstreamer-%{majorminor}/gst/media-info/media-info.h
rm -f $RPM_BUILD_ROOT%{_libdir}/libgstmedia-info*.so.0.0.0
rm -f $RPM_BUILD_ROOT%{_libdir}/gstreamer-%{majorminor}/libgstgdkpixbuf.so rm -f $RPM_BUILD_ROOT%{_libdir}/gstreamer-%{majorminor}/libgstgdkpixbuf.so
%clean %clean
@ -151,6 +149,7 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/gstreamer-%{majorminor}/libgstefence.so %{_libdir}/gstreamer-%{majorminor}/libgstefence.so
%{_libdir}/gstreamer-%{majorminor}/libgsteffectv.so %{_libdir}/gstreamer-%{majorminor}/libgsteffectv.so
%{_libdir}/gstreamer-%{majorminor}/libgstfestival.so %{_libdir}/gstreamer-%{majorminor}/libgstfestival.so
%{_libdir}/gstreamer-%{majorminor}/libgstffmpegcolorspace.so
%{_libdir}/gstreamer-%{majorminor}/libgstfilter.so %{_libdir}/gstreamer-%{majorminor}/libgstfilter.so
%{_libdir}/gstreamer-%{majorminor}/libgstflxdec.so %{_libdir}/gstreamer-%{majorminor}/libgstflxdec.so
%{_libdir}/gstreamer-%{majorminor}/libgstgamma.so %{_libdir}/gstreamer-%{majorminor}/libgstgamma.so
@ -285,16 +284,19 @@ GStreamer support libraries header files.
%{_includedir}/gstreamer-%{majorminor}/gst/xwindowlistener/xwindowlistener.h %{_includedir}/gstreamer-%{majorminor}/gst/xwindowlistener/xwindowlistener.h
# library headers # library headers
@USE_GCONF_TRUE@%{_includedir}/gstreamer-%{majorminor}/gst/gconf/gconf.h @USE_GCONF_TRUE@%{_includedir}/gstreamer-%{majorminor}/gst/gconf/gconf.h
%{_includedir}/gstreamer-%{majorminor}/gst/media-info/media-info.h
%{_includedir}/gstreamer-%{majorminor}/gst/play/play.h %{_includedir}/gstreamer-%{majorminor}/gst/play/play.h
%{_includedir}/gstreamer-%{majorminor}/gst/play/play-enumtypes.h %{_includedir}/gstreamer-%{majorminor}/gst/play/play-enumtypes.h
%{_includedir}/gstreamer-%{majorminor}/gst/tag/tag.h %{_includedir}/gstreamer-%{majorminor}/gst/tag/tag.h
# pkg-config files # pkg-config files
%{_libdir}/pkgconfig/gstreamer-libs-%{majorminor}.pc
%{_libdir}/pkgconfig/gstreamer-play-%{majorminor}.pc
%{_libdir}/pkgconfig/gstreamer-interfaces-%{majorminor}.pc
@USE_GCONF_TRUE@%{_libdir}/pkgconfig/gstreamer-gconf-%{majorminor}.pc @USE_GCONF_TRUE@%{_libdir}/pkgconfig/gstreamer-gconf-%{majorminor}.pc
%{_libdir}/pkgconfig/gstreamer-interfaces-%{majorminor}.pc
%{_libdir}/pkgconfig/gstreamer-libs-%{majorminor}.pc
%{_libdir}/pkgconfig/gstreamer-media-info-%{majorminor}.pc
%{_libdir}/pkgconfig/gstreamer-play-%{majorminor}.pc
# .so files # .so files
@USE_GCONF_TRUE@%{_libdir}/libgstgconf-%{majorminor}.so @USE_GCONF_TRUE@%{_libdir}/libgstgconf-%{majorminor}.so
%{_libdir}/libgstmedia-info-%{majorminor}.so
%{_libdir}/libgstplay-%{majorminor}.so %{_libdir}/libgstplay-%{majorminor}.so
# Here are packages not in the base plugins package but not dependant # Here are packages not in the base plugins package but not dependant
@ -805,6 +807,10 @@ GStreamer support libraries header files.
%changelog %changelog
* Mon Mar 15 2004 Thomas Vander Stichele <thomas at apestaart dot org>
- put back media-info
- add ffmpegcolorspace plugin
* Tue Mar 02 2004 Thomas Vander Stichele <thomas at apestaart dot org> * Tue Mar 02 2004 Thomas Vander Stichele <thomas at apestaart dot org>
- Libraries/Multimedia doesn't exist, remove it - Libraries/Multimedia doesn't exist, remove it