mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 11:10:37 +00:00
support libvisual 0.2.0
Original commit message from CVS: support libvisual 0.2.0
This commit is contained in:
parent
a2ea6ab303
commit
4190810daf
3 changed files with 11 additions and 4 deletions
|
@ -1,3 +1,10 @@
|
|||
2005-02-19 Arwed v. Merkatz <v.merkatz@gmx.net>>
|
||||
|
||||
* configure.ac:
|
||||
* ext/libvisual/visual.c: (gst_visual_srclink),
|
||||
(gst_visual_change_state):
|
||||
Support libvisual 0.2.0.
|
||||
|
||||
2005-02-18 Tim-Philipp Müller <tim at centricular dot net>
|
||||
|
||||
* ext/jpeg/gstjpegdec.c: (gst_jpegdec_chain):
|
||||
|
|
|
@ -1327,7 +1327,7 @@ GST_CHECK_FEATURE(LIBRFB, [librfb Remote Framebuffer], rfbsrc, [
|
|||
dnl *** libvisual ***
|
||||
translit(dnm, m, l) AM_CONDITIONAL(USE_LIBVISUAL, true)
|
||||
GST_CHECK_FEATURE(LIBVISUAL, [libvisual visualization plugins], libvisual, [
|
||||
PKG_CHECK_MODULES(LIBVISUAL, libvisual = 0.1.7, HAVE_LIBVISUAL="yes", HAVE_LIBVISUAL="no")
|
||||
PKG_CHECK_MODULES(LIBVISUAL, libvisual = 0.2.0, HAVE_LIBVISUAL="yes", HAVE_LIBVISUAL="no")
|
||||
AC_SUBST(LIBVISUAL_CFLAGS)
|
||||
AC_SUBST(LIBVISUAL_LIBS)
|
||||
])
|
||||
|
|
|
@ -282,7 +282,7 @@ gst_visual_srclink (GstPad * pad, const GstCaps * caps)
|
|||
return GST_PAD_LINK_REFUSED;
|
||||
|
||||
if (visual->video)
|
||||
visual_video_free (visual->video);
|
||||
visual_object_unref (VISUAL_OBJECT (visual->video));
|
||||
visual->video = visual_video_new ();
|
||||
visual_actor_set_video (visual->actor, visual->video);
|
||||
visual_video_set_depth (visual->video,
|
||||
|
@ -352,7 +352,7 @@ gst_visual_change_state (GstElement * element)
|
|||
return GST_STATE_FAILURE;
|
||||
|
||||
if (visual_actor_realize (visual->actor) != 0) {
|
||||
visual_actor_free (visual->actor);
|
||||
visual_object_unref (VISUAL_OBJECT (visual->actor));
|
||||
visual->actor = NULL;
|
||||
return GST_STATE_FAILURE;
|
||||
}
|
||||
|
@ -368,7 +368,7 @@ gst_visual_change_state (GstElement * element)
|
|||
case GST_STATE_PAUSED_TO_READY:
|
||||
break;
|
||||
case GST_STATE_READY_TO_NULL:
|
||||
visual_actor_free (visual->actor);
|
||||
visual_object_unref (VISUAL_OBJECT (visual->actor));
|
||||
visual->actor = NULL;
|
||||
break;
|
||||
default:
|
||||
|
|
Loading…
Reference in a new issue