From c7403ecb54515eb1c9da1a54929340feba2523a1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20R=C4=99korajski?= Date: Tue, 2 Oct 2012 22:04:36 +0200 Subject: [PATCH] - export functions needed by libx264 - rel 3 --- gpac-export.patch | 28 ++++++++++++++++++++++++++++ gpac.spec | 2 +- 2 files changed, 29 insertions(+), 1 deletion(-) diff --git a/gpac-export.patch b/gpac-export.patch index d250f43..30c668c 100644 --- a/gpac-export.patch +++ b/gpac-export.patch @@ -45,3 +45,31 @@ u32 gf_rand() { return rand(); +--- gpac/src/isomedia/isom_write.c.orig 2012-03-29 14:36:23.000000000 +0200 ++++ gpac/src/isomedia/isom_write.c 2012-10-02 21:55:13.269904532 +0200 +@@ -1140,6 +1140,7 @@ + return Track_SetStreamDescriptor(trak, StreamDescriptionIndex, entry->dataReferenceIndex, esd, NULL); + } + ++GF_EXPORT + GF_Err gf_isom_set_visual_info(GF_ISOFile *movie, u32 trackNumber, u32 StreamDescriptionIndex, u32 Width, u32 Height) + { + GF_Err e; +@@ -1187,6 +1188,7 @@ + } + } + ++GF_EXPORT + GF_Err gf_isom_set_pixel_aspect_ratio(GF_ISOFile *movie, u32 trackNumber, u32 StreamDescriptionIndex, u32 hSpacing, u32 vSpacing) + { + GF_Err e; +--- gpac/src/isomedia/avc_ext.c.orig 2012-03-27 11:48:05.000000000 +0200 ++++ gpac/src/isomedia/avc_ext.c 2012-10-02 21:54:35.469905865 +0200 +@@ -170,6 +170,7 @@ + + + #ifndef GPAC_DISABLE_ISOM_WRITE ++GF_EXPORT + GF_Err gf_isom_avc_config_new(GF_ISOFile *the_file, u32 trackNumber, GF_AVCConfig *cfg, char *URLname, char *URNname, u32 *outDescriptionIndex) + { + GF_TrackBox *trak; diff --git a/gpac.spec b/gpac.spec index 71709d9..95f45cf 100644 --- a/gpac.spec +++ b/gpac.spec @@ -21,7 +21,7 @@ Summary: GPAC - an implementation of the MPEG-4 Systems standard (ISO/IEC 14496- Summary(pl.UTF-8): GPAC - implementacja standardu MPEG-4 Systems (ISO/IEC 14496-1) Name: gpac Version: 0.5.0 -Release: 2 +Release: 3 License: LGPL v2+ Group: Applications/Multimedia Source0: http://downloads.sourceforge.net/gpac/%{name}-%{version}.tar.gz -- 2.44.0