pkgsrc/multimedia/handbrake/patches/patch-aj
jmcneill 684be9f2d4 Import handbrake version 0.9.3.
HandBrake is an open-source, GPL-licensed, multiplatform, multithreaded video
transcoder, available for MacOS X, NetBSD, Linux and Windows.

Supported sources:
 * Any DVD-like source: VIDEO_TS folder, DVD image or real DVD
   (unencrypted--protection methods including CSS are not supported internally
   and must be handled externally with third-party software and libraries),
   and some .VOB and .TS files
 * Most any multimedia file it can get libavformat to read and libavcodec to
   decode.

Outputs:
 * File format: MP4, MKV, AVI or OGM
 * Video: MPEG-4, H.264, or Theora (1 or 2 passes or constant quantizer/rate
   encoding)
 * Audio: AAC, MP3, Vorbis or AC-3 pass-through (supports encoding of several
   audio tracks)

Misc features:
 * Chapter selection
 * Basic subtitle support (burned into the picture)
 * Integrated bitrate calculator
 * Picture deinterlacing, cropping and scaling
 * Grayscale encoding
2009-01-21 14:15:15 +00:00

38 lines
912 B
Text

$NetBSD: patch-aj,v 1.1.1.1 2009/01/21 14:15:15 jmcneill Exp $
--- gtk/src/ghb-dvd.c.orig 2009-01-20 21:34:27.000000000 -0500
+++ gtk/src/ghb-dvd.c 2009-01-20 21:34:56.000000000 -0500
@@ -315,7 +315,6 @@ ghb_dvd_volname(const gchar *device)
}
#endif
-#if defined(__linux__)
gchar*
ghb_resolve_symlink(const gchar *name)
{
@@ -359,12 +358,10 @@ ghb_resolve_symlink(const gchar *name)
g_object_unref(gfile);
return file;
}
-#endif
void
ghb_dvd_set_current(const gchar *name, signal_user_data_t *ud)
{
-#if defined(__linux__)
GFile *gfile;
GFileInfo *info;
gchar *resolved = ghb_resolve_symlink(name);
@@ -394,12 +391,4 @@ ghb_dvd_set_current(const gchar *name, s
g_free(resolved);
}
g_object_unref(gfile);
-#else
- if (ud->current_dvd_device != NULL)
- {
- g_free(ud->current_dvd_device);
- ud->current_dvd_device = NULL;
- }
- ud->current_dvd_device = g_strdup(name);;
-#endif
}