55ff7d07a4
transcode is a text console video-stream processing tool. It supports elementary video and audio frame transformations. Some example modules are included to enable import of MPEG-1/2, Digital Video, and other formats. It also includes export modules for writing to AVI files with DivX, OpenDivX, XviD, Digital Video or other codecs. Direct DVD transcoding is also supported. A set of tools is available to extract and decode the sources into raw video/audio streams for import and to enable post-processing of AVI files. from Waldemar Brodkorb and Jacob Meuser, maintained by Waldemar Brodkorb <wbx at openbsd.de>
13 lines
550 B
Plaintext
13 lines
550 B
Plaintext
$OpenBSD: patch-import_ioaux_c,v 1.1.1.1 2004/06/18 18:56:43 sturm Exp $
|
|
--- import/ioaux.c.orig 2003-12-20 03:48:54.000000000 -0800
|
|
+++ import/ioaux.c 2004-04-28 10:26:58.000000000 -0700
|
|
@@ -234,7 +234,7 @@ int probe_path(char *name)
|
|
|
|
// treat block device as absolute directory path
|
|
if(S_ISBLK(fbuf.st_mode)
|
|
-#ifdef __APPLE__ // accessing through the raw device (/dev/rdiskX)
|
|
+#if defined(__APPLE__) || defined(__OpenBSD__) // accessing through the raw device (/dev/rdiskX)
|
|
|| S_ISCHR(fbuf.st_mode)
|
|
#endif
|
|
)
|