]> git.pld-linux.org Git - packages/gpac.git/blame - gpac-export.patch
- export functions needed by libx264
[packages/gpac.git] / gpac-export.patch
CommitLineData
16219ea0
JB
1--- gpac/src/terminal/terminal.c.orig 2012-05-23 20:57:42.000000000 +0200
2+++ gpac/src/terminal/terminal.c 2012-06-17 09:20:24.582866480 +0200
3@@ -1866,6 +1866,7 @@ u32 gf_term_sample_clocks(GF_Terminal *t
4 return 0;
5 }
6
7+GF_EXPORT
8 const char *gf_term_get_text_selection(GF_Terminal *term, Bool probe_only)
9 {
10 Bool has_text;
11@@ -1876,7 +1877,7 @@ const char *gf_term_get_text_selection(G
12 return gf_sc_get_selected_text(term->compositor);
13 }
14
15-
16+GF_EXPORT
17 GF_Err gf_term_paste_text(GF_Terminal *term, const char *txt, Bool probe_only)
18 {
19 if (!term) return GF_BAD_PARAM;
20--- gpac/src/terminal/object_browser.c.orig 2012-03-27 11:48:05.000000000 +0200
21+++ gpac/src/terminal/object_browser.c 2012-06-17 09:21:02.492864890 +0200
22@@ -102,6 +102,7 @@ u32 gf_term_object_subscene_type(GF_Term
23 }
24
25 /*select given object when stream selection is available*/
26+GF_EXPORT
27 void gf_term_select_object(GF_Terminal *term, GF_ObjectManager *odm)
28 {
29 if (!term || !odm) return;
30--- gpac/src/utils/os_divers.c.orig 2012-04-04 16:47:33.000000000 +0200
31+++ gpac/src/utils/os_divers.c 2012-06-17 09:22:03.782862317 +0200
32@@ -311,6 +311,7 @@ void gf_move_file(const char *fileName,
33 #endif
34 }
35
36+GF_EXPORT
37 void gf_rand_init(Bool Reset)
38 {
39 if (Reset) {
40@@ -324,6 +325,7 @@ void gf_rand_init(Bool Reset)
41 }
42 }
43
44+GF_EXPORT
45 u32 gf_rand()
46 {
47 return rand();
c7403ecb
JR
48--- gpac/src/isomedia/isom_write.c.orig 2012-03-29 14:36:23.000000000 +0200
49+++ gpac/src/isomedia/isom_write.c 2012-10-02 21:55:13.269904532 +0200
50@@ -1140,6 +1140,7 @@
51 return Track_SetStreamDescriptor(trak, StreamDescriptionIndex, entry->dataReferenceIndex, esd, NULL);
52 }
53
54+GF_EXPORT
55 GF_Err gf_isom_set_visual_info(GF_ISOFile *movie, u32 trackNumber, u32 StreamDescriptionIndex, u32 Width, u32 Height)
56 {
57 GF_Err e;
58@@ -1187,6 +1188,7 @@
59 }
60 }
61
62+GF_EXPORT
63 GF_Err gf_isom_set_pixel_aspect_ratio(GF_ISOFile *movie, u32 trackNumber, u32 StreamDescriptionIndex, u32 hSpacing, u32 vSpacing)
64 {
65 GF_Err e;
66--- gpac/src/isomedia/avc_ext.c.orig 2012-03-27 11:48:05.000000000 +0200
67+++ gpac/src/isomedia/avc_ext.c 2012-10-02 21:54:35.469905865 +0200
68@@ -170,6 +170,7 @@
69
70
71 #ifndef GPAC_DISABLE_ISOM_WRITE
72+GF_EXPORT
73 GF_Err gf_isom_avc_config_new(GF_ISOFile *the_file, u32 trackNumber, GF_AVCConfig *cfg, char *URLname, char *URNname, u32 *outDescriptionIndex)
74 {
75 GF_TrackBox *trak;
This page took 0.106626 seconds and 4 git commands to generate.