mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-26 23:13:16 +02:00
libeplayer3: try to fix dynamic linking
Conflicts: libeplayer3/Makefile.am libspark/Makefile.am Conflicts: libeplayer3/Makefile.am
This commit is contained in:
@@ -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
|
||||
|
@@ -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;
|
||||
|
Reference in New Issue
Block a user