tags 554310 patch
thanks

Hello,

This is the patch that was applied in Ubuntu to fix this problem.
https://launchpad.net/ubuntu/+source/dvswitch/0.8.3.4-1ubuntu1

only in patch2:
unchanged:
--- dvswitch-0.8.3.4.orig/tests/CMakeLists.txt
+++ dvswitch-0.8.3.4/tests/CMakeLists.txt
@@ -6,7 +6,7 @@
   ../src/dif.c ../src/dif_audio.c ../src/frame_pool.cpp ../src/auto_codec.cpp
   ../src/frame.c ../src/os_error.cpp ../src/video_effect.c)
 target_link_libraries(mixer pthread rt ${BOOST_THREAD_LIBRARIES}
-                      ${LIBAVCODEC_LIBRARIES})
+                      ${LIBAVCODEC_LIBRARIES} avutil)
 
 add_executable(ring_buffer ring_buffer.cpp)
 
only in patch2:
unchanged:
--- dvswitch-0.8.3.4.orig/src/CMakeLists.txt
+++ dvswitch-0.8.3.4/src/CMakeLists.txt
@@ -18,14 +18,14 @@
 add_executable(dvsource-dvgrab dvsource-dvgrab.c ${common_sources})
 
 add_executable(dvsource-alsa dvsource-alsa.c dif_audio.c ${common_sources})
-target_link_libraries(dvsource-alsa ${ALSA_LIBRARIES})
+target_link_libraries(dvsource-alsa ${ALSA_LIBRARIES} m)
 
 add_executable(dvswitch dvswitch.cpp mixer.cpp frame_timer.c
   mixer_window.cpp dv_display_widget.cpp dv_selector_widget.cpp
   server.cpp auto_pipe.cpp os_error.cpp video_effect.c frame_pool.cpp
   frame.c auto_codec.cpp format_dialog.cpp dif_audio.c vu_meter.cpp
   status_overlay.cpp ${common_sources})
-target_link_libraries(dvswitch m pthread rt Xv
+target_link_libraries(dvswitch m pthread rt Xv X11 Xext avutil
   ${BOOST_THREAD_LIBRARIES} ${GTKMM_LIBRARIES} ${LIBAVCODEC_LIBRARIES})
 
 install(TARGETS dvsink-command dvsink-files dvsource-file dvsource-dvgrab



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to