libeplayer3: try to fix dynamic linking

Conflicts:
	libeplayer3/Makefile.am
	libspark/Makefile.am

Conflicts:
	libeplayer3/Makefile.am
This commit is contained in:
Stefan Seyfried
2015-02-13 19:55:54 +01:00
committed by max10
parent 5154d69a30
commit 030f06cee2
4 changed files with 19 additions and 13 deletions

View File

@@ -8,11 +8,13 @@ AM_CPPFLAGS += \
AM_CXXFLAGS = -fno-rtti -fno-exceptions -fno-strict-aliasing
AM_LDFLAGS = -lpthread -lasound -lass -lrt \
AM_LDFLAGS = \
-lOpenThreads \
@AVFORMAT_LIBS@ \
@AVUTIL_LIBS@ \
@AVCODEC_LIBS@ \
@SWRESAMPLE_LIBS@
@SWRESAMPLE_LIBS@ \
-lpthread -lasound -lass -lrt
libspark_la_SOURCES = \
hardware_caps.c \
@@ -24,5 +26,3 @@ libspark_la_SOURCES = \
playback_libeplayer3.cpp \
pwrmngr.cpp \
record.cpp
#AM_CPPFLAGS += -DF_INTERRUPTS=20000 -DIRMP_EMBED -DLIRC_IRMP

View File

@@ -244,10 +244,10 @@ bool cPlayback::GetPosition(int &position, int &duration)
if (!player->isPlaying) {
lt_info("%s !!!!EOF!!!! < -1\n", __func__);
position = duration;
position = duration + 1000;
// duration = 0;
// this is stupid
return true;
return false;
}
int64_t vpts = 0;