From 6f48d5275facdfacc236baa86546fa4d1b52cbc7 Mon Sep 17 00:00:00 2001 From: Rodeo Date: Thu, 13 Feb 2014 14:57:05 +0000 Subject: libhb: write encoding library's name in the Activity Log. We lost them for some encoders in SVN revision 5586. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6029 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- win/CS/HandBrake.Interop/HandBrakeInterop/HbLib/HbFunctions.cs | 3 +++ win/CS/HandBrake.Interop/HandBrakeInterop/HbLib/hb_container_s.cs | 3 +++ win/CS/HandBrake.Interop/HandBrakeInterop/HbLib/hb_encoder_s.cs | 3 +++ 3 files changed, 9 insertions(+) (limited to 'win/CS/HandBrake.Interop/HandBrakeInterop/HbLib') diff --git a/win/CS/HandBrake.Interop/HandBrakeInterop/HbLib/HbFunctions.cs b/win/CS/HandBrake.Interop/HandBrakeInterop/HbLib/HbFunctions.cs index 305283286..b59c0e2cc 100644 --- a/win/CS/HandBrake.Interop/HandBrakeInterop/HbLib/HbFunctions.cs +++ b/win/CS/HandBrake.Interop/HandBrakeInterop/HbLib/HbFunctions.cs @@ -335,6 +335,7 @@ namespace HandBrake.Interop.HbLib //int hb_video_encoder_get_from_name(const char *name); //const char* hb_video_encoder_get_name(int encoder); //const char* hb_video_encoder_get_short_name(int encoder); +//const char* hb_video_encoder_get_long_name(int encoder); //const char* hb_video_encoder_sanitize_name(const char *name); [DllImport("hb.dll", EntryPoint = "hb_video_encoder_get_next", CallingConvention = CallingConvention.Cdecl)] @@ -352,6 +353,7 @@ namespace HandBrake.Interop.HbLib //int hb_audio_encoder_get_from_name(const char *name); //const char* hb_audio_encoder_get_name(int encoder); //const char* hb_audio_encoder_get_short_name(int encoder); +//const char* hb_audio_encoder_get_long_name(int encoder); //const char* hb_audio_encoder_sanitize_name(const char *name); [DllImport("hb.dll", EntryPoint = "hb_audio_encoder_get_next", CallingConvention = CallingConvention.Cdecl)] @@ -361,6 +363,7 @@ namespace HandBrake.Interop.HbLib //int hb_container_get_from_extension(const char *extension); // not really a container name //const char* hb_container_get_name(int format); //const char* hb_container_get_short_name(int format); +//const char* hb_container_get_long_name(int format); //const char* hb_container_get_default_extension(int format); //const char* hb_container_sanitize_name(const char *name); diff --git a/win/CS/HandBrake.Interop/HandBrakeInterop/HbLib/hb_container_s.cs b/win/CS/HandBrake.Interop/HandBrakeInterop/HbLib/hb_container_s.cs index bb3a62f4f..5d2033e19 100644 --- a/win/CS/HandBrake.Interop/HandBrakeInterop/HbLib/hb_container_s.cs +++ b/win/CS/HandBrake.Interop/HandBrakeInterop/HbLib/hb_container_s.cs @@ -18,6 +18,9 @@ namespace HandBrake.Interop.HbLib [MarshalAs(UnmanagedType.LPStr)] public string short_name; + [MarshalAs(UnmanagedType.LPStr)] + public string long_name; + [MarshalAs(UnmanagedType.LPStr)] public string default_extension; diff --git a/win/CS/HandBrake.Interop/HandBrakeInterop/HbLib/hb_encoder_s.cs b/win/CS/HandBrake.Interop/HandBrakeInterop/HbLib/hb_encoder_s.cs index 76fe71a42..13680ff2c 100644 --- a/win/CS/HandBrake.Interop/HandBrakeInterop/HbLib/hb_encoder_s.cs +++ b/win/CS/HandBrake.Interop/HandBrakeInterop/HbLib/hb_encoder_s.cs @@ -18,6 +18,9 @@ namespace HandBrake.Interop.HbLib [MarshalAs(UnmanagedType.LPStr)] public string short_name; + [MarshalAs(UnmanagedType.LPStr)] + public string long_name; + public int codec; public int muxers; -- cgit v1.2.3