Archiv > Development

1.7.36

<< < (6/18) > >>

MarMic:
sieht so aus als findet er die libs von xine nicht

 

unixer:

--- Quote --- sieht so aus als findet er die libs von xine nicht
--- End quote ---
you apply these patch ?

--- Code: ---diff --git a/src/video_out/video_out_vdpau.c b/src/video_out/video_out_vdpau.c
--- a/src/video_out/video_out_vdpau.c
+++ b/src/video_out/video_out_vdpau.c
@@ -113,7 +113,9 @@ VdpOutputSurfaceRenderBlendState blend =

 VdpDevice vdp_device;
 VdpPresentationQueue vdp_queue;
+VdpPresentationQueue prev_vdp_queue = VDP_INVALID_HANDLE;
 VdpPresentationQueueTarget vdp_queue_target;
+VdpPresentationQueueTarget prev_vdp_queue_target = VDP_INVALID_HANDLE;

 VdpDeviceDestroy *vdp_device_destroy;

@@ -2234,8 +2236,16 @@ static int vdpau_gui_data_exchange (vo_d
       pthread_mutex_lock(&this->drawable_lock); /* wait for other thread which is currently displaying */
       DO_LOCKDISPLAY
       this->drawable = (Drawable) data;
-      vdp_queue_destroy( vdp_queue );
-      vdp_queue_target_destroy( vdp_queue_target );
+
+      // Do not immideatly destory queue as the window would display a black frame
+      // Patch for xineliboutput to allow opening the hud without black frame
+      if (prev_vdp_queue!=VDP_INVALID_HANDLE) {
+        vdp_queue_destroy(prev_vdp_queue);
+        vdp_queue_target_destroy(prev_vdp_queue_target);
+      }
+      prev_vdp_queue=vdp_queue;
+      prev_vdp_queue_target=vdp_queue_target;
+
       st = vdp_queue_target_create_x11( vdp_device, this->drawable, &vdp_queue_target );
       if ( st != VDP_STATUS_OK ) {
         fprintf(stderr, "vo_vdpau: FATAL !! Can't recreate presentation queue target after drawable change !!n" );
@@ -2298,6 +2308,10 @@ static void vdpau_dispose (vo_driver_t *

   if ( vdp_queue_target != VDP_INVALID_HANDLE )
     vdp_queue_target_destroy( vdp_queue_target );
+  if ( prev_vdp_queue != VDP_INVALID_HANDLE )
+    vdp_queue_destroy( prev_vdp_queue );
+  if ( prev_vdp_queue_target != VDP_INVALID_HANDLE )
+    vdp_queue_target_destroy( prev_vdp_queue_target );

   if ( this->video_mixer!=VDP_INVALID_HANDLE )
     vdp_video_mixer_destroy( this->video_mixer );

--- End code ---

unixer:
I had these problem with vdr 1.7.35
but afetr modify the file Make.config is ok

--- Code: ---#
# User defined Makefile options for the Video Disk Recorder
#
# Copy this file to 'Make.config' and change the parameters as necessary.
#
# See the main source file 'vdr.c' for copyright information and
# how to reach the author.
#
# $Id: Make.config.template 2.9 2012/09/01 10:31:33 kls Exp $

### The C compiler and options:

#CC       = gcc
#CFLAGS   = -g -O3 -Wall

#CXX      = g++
#CXXFLAGS = -g -O3 -Wall -Werror=overloaded-virtual -Wno-parentheses

ifdef PLUGIN
CFLAGS   += -fPIC
CXXFLAGS += -fPIC
endif

### The directory environment:

#MLDDIR   = $(abspath $(shell path=$$(pwd)/../../..; if [ -e $$path/vdr/src ]; then echo $$path; else echo $$path/../../..; fi))
PREFIX   = /usr
DVBDIR=/root/openbricks/build/build.i386.eglibc/toolchain/i686-openbricks-linux-gnu/sysroot/usr
#MANDIR   = $(PREFIX)/man
#BINDIR   = $(PREFIX)/bin
LIBDIR    = $(PREFIX)/lib/vdr/plugins
LIBS += -lintl


# By default locale and plugin files are built under the source directory:
LOCDIR       = /usr/share/locale
#PLUGINDIR   = ./PLUGINS
PLUGINLIBDIR = /usr/lib/vdr/plugins
# By default VDR requires only one single directory to operate:
VIDEODIR = /media/video
# Activate the following line to build VDR according to the FHS ("File system Hierarchy Standard"):
USEFHS = 1
ifdef USEFHS
VIDEODIR     = /media/video
CONFDIR      = /etc/vdr
CACHEDIR     = /var/cache/vdr
RESDIR       = /usr/share/vdr
LOCDIR       = /usr/share/locale
PLUGINLIBDIR = /usr/lib/vdr/plugins
#LIBDIR       = /usr/lib/vdr/plugins
LIBDIR    = $(PREFIX)/lib/vdr/plugins
endif

## Define if you want vdr to not run as root
#VDR_USER = vdr

### VDR-Extensions:

### The remote control:

LIRC_DEVICE = /var/run/lirc/lircd

## Define if you want vdr to not run as root
#VDR_USER = vdr

### VDR-Extensions:

--- End code ---

MarMic:
strace sagt (siehe bild)

aber nach verschieben von 2.2 nach 1.30 hat auch nicht geholfen :-(

der exited wegen etwas anderem

 

P3f:

--- Quote --- hi
@P3f

hast du dein System neu aufgesetzt?
dann könnte der Fehler an lib-xine liegen

hier werten die libs aus den bulid System cobirt   und das hat 1.30 und nicht 1.28
mfg det
--- End quote ---
Hi Det,

ich hatte meine Develumgebung vor ca 2 Wochen neu aufgesetzt, aber bei mir wird seit heute auch die 1.30 von xine-lib kopiert.


--- Quote ---root@KP-Linux:/home/pit/build/MLD_svn/xineliboutput# make clean
root@KP-Linux:/home/pit/build/MLD_svn/xineliboutput# make
  xineliboutput:
        Use patch ../10_xineliboutput_mld.patch
patching file Makefile
Hunk #3 succeeded at 346 (offset 5 lines).
        Use patch ../11_xineliboutput_xinelib.patch
patching file Make.config
Makefile:109: Building inside VDR source tree
Running configure
Checking for pkg-config ... yes
Checking for pkg-config libextractor ... yes
Checking for pkg-config libcap ... no
Checking for libcap ... yes
Checking for pkg-config libbluray ... yes
Checking for pkg-config libxine ... yes
Checking for pkg-config dlfcn ... no
Checking for dlfcn ... yes
Checking for xine plugin directory ... /usr/lib/xine/plugins/1.30
Checking for pkg-config libavutil ... yes
Checking for pkg-config libjpeg ... no
Checking for libjpeg ... yes
Checking for pkg-config x11 ... yes
Checking for pkg-config pthread ... no
Checking for pthread ... yes
Checking for pkg-config xext ... yes
Checking for pkg-config xshm ... no
Checking for xshm ... yes
Checking for pkg-config xrender ... yes
Checking for pkg-config xshape ... no
Checking for xshape ... yes
Checking for pkg-config xdpms ... no
Checking for xdpms ... yes
Checking for pkg-config xinerama ... yes
Checking for pkg-config opengl ... no
Checking for opengl ... yes
Checking for pkg-config vdpau ... yes
Checking for pkg-config dbus-glib-1 ... yes

Enabled features:
  x11
  fb
  vdr
  libxine
  libextractor
  libavutil
  libjpeg
  dbus_glib_1
  xshm
  xdpms
  xinerama
  xrender
  xshape
  opengl
  pthread
  dlfcn
  vdpau
  i18n
  libcap
  libbluray
Disabled features:

Creating features.h ...
Creating config.mak ...
Makefile:109: Building inside VDR source tree

*** Plugin xineliboutput:
WARNING: plugin xineliboutput is using an old Makefile!
Makefile:112: ********************************************************
Makefile:113: VDR source tree not detected !
Makefile:114: VDR plugins will not be installed.
Makefile:115: ********************************************************
Running configure
Checking for pkg-config ... yes
Checking for pkg-config libextractor ... yes
Checking for pkg-config libcap ... no
Checking for libcap ... yes
Checking for pkg-config libbluray ... yes
Checking for pkg-config libxine ... yes
Checking for pkg-config dlfcn ... no
Checking for dlfcn ... yes
Checking for xine plugin directory ... /usr/lib/xine/plugins/1.30
Checking for pkg-config libavutil ... yes
Checking for pkg-config libjpeg ... no
Checking for libjpeg ... yes
Checking for pkg-config x11 ... yes
Checking for pkg-config pthread ... no
Checking for pthread ... yes
Checking for pkg-config xext ... yes
Checking for pkg-config xshm ... no
Checking for xshm ... yes
Checking for pkg-config xrender ... yes
Checking for pkg-config xshape ... no
Checking for xshape ... yes
Checking for pkg-config xdpms ... no
Checking for xdpms ... yes
Checking for pkg-config xinerama ... yes
Checking for pkg-config opengl ... no
Checking for opengl ... yes
Checking for pkg-config vdpau ... yes
Checking for pkg-config dbus-glib-1 ... yes

Enabled features:
  x11
  fb
  vdr
  libxine
  libextractor
  libavutil
  libjpeg
  dbus_glib_1
  xshm
  xdpms
  xinerama
  xrender
  xshape
  opengl
  pthread
  dlfcn
  vdpau
  i18n
  libcap
  libbluray
Disabled features:

Creating features.h ...
Creating config.mak ...
Makefile:112: ********************************************************
Makefile:113: VDR source tree not detected !
Makefile:114: VDR plugins will not be installed.
Makefile:115: ********************************************************

--- End quote ---

Hast Du auch das Problem das die VDR Source nicht gefunden werden?

Gruß,

Pit

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version