Export gf_isom_set_pixel_aspect_ratio in libgpac.so.3
authorReinhard Tartler <siretart@tauware.de>
Sun, 6 Apr 2014 16:03:33 +0000 (12:03 -0400)
committerReinhard Tartler <siretart@tauware.de>
Sun, 6 Apr 2014 16:08:22 +0000 (12:08 -0400)
Libx264 references this method and breaks when trying to link against it
dynamically.

debian/patches/export_gf_isom_set_pixel_aspect_ratio.patch [new file with mode: 0644]
debian/patches/series

diff --git a/debian/patches/export_gf_isom_set_pixel_aspect_ratio.patch b/debian/patches/export_gf_isom_set_pixel_aspect_ratio.patch
new file mode 100644 (file)
index 0000000..af9aa9e
--- /dev/null
@@ -0,0 +1,14 @@
+Description: export gf_isom_set_pixel_aspect_ratio
+ At least libx264 depends on it, and breaks when not linking statically
+Author: Reinhard Tartler <siretart@tauware.de>
+
+--- gpac-0.5.0+svn5194~dfsg1.orig/src/isomedia/isom_write.c
++++ gpac-0.5.0+svn5194~dfsg1/src/isomedia/isom_write.c
+@@ -1209,6 +1209,7 @@ GF_Err gf_isom_set_visual_info(GF_ISOFil
+       }
+ }
++GF_EXPORT
+ GF_Err gf_isom_set_pixel_aspect_ratio(GF_ISOFile *movie, u32 trackNumber, u32 StreamDescriptionIndex, u32 hSpacing, u32 vSpacing)
+ {
+       GF_Err e;
index b4521636b85d91f2710c681403d8765e6eda7b22..49b48c80906e2884b758aafd0d7a5749a5bd77ad 100644 (file)
@@ -1,3 +1,4 @@
 mp4box-manpage-fix.patch
 gcc-optflags.patch
 libav10.patch
+export_gf_isom_set_pixel_aspect_ratio.patch