pkgsrc/multimedia/mediatomb/patches/patch-src_transcoding_transcode__ext__handler.cc
ryoon 3a756227f8 Fix build on NetBSD current, at least.
* Fix build with recent ffmpeg
* Add SONY Bravia support to check functionality
2012-09-25 11:45:11 +00:00

16 lines
718 B
C++

$NetBSD: patch-src_transcoding_transcode__ext__handler.cc,v 1.1 2012/09/25 11:45:11 ryoon Exp $
Add SONY Bravia support
http://blog-imgs-30.fc2.com/h/o/r/horip/mediatomb-0_12_1_bravia_support_0_1_patch.txt
--- src/transcoding/transcode_ext_handler.cc.orig 2010-03-25 14:58:07.000000000 +0000
+++ src/transcoding/transcode_ext_handler.cc
@@ -182,7 +182,7 @@ Ref<IOHandler> TranscodeExternalHandler:
try
{
- chmod(location.c_str(), S_IWUSR | S_IRUSR);
+ chmod(location.c_str(), S_IWUSR | S_IRUSR | S_IROTH);
Ref<IOHandler> c_ioh(new CurlIOHandler(url, NULL,
cfg->getIntOption(CFG_EXTERNAL_TRANSCODING_CURL_BUFFER_SIZE),