gmerlin
edl.h
1 /*****************************************************************
2  * gmerlin - a general purpose multimedia framework and applications
3  *
4  * Copyright (c) 2001 - 2012 Members of the Gmerlin project
5  * gmerlin-general@lists.sourceforge.net
6  * http://gmerlin.sourceforge.net
7  *
8  * This program is free software: you can redistribute it and/or modify
9  * it under the terms of the GNU General Public License as published by
10  * the Free Software Foundation, either version 2 of the License, or
11  * (at your option) any later version.
12  *
13  * This program is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16  * GNU General Public License for more details.
17  *
18  * You should have received a copy of the GNU General Public License
19  * along with this program. If not, see <http://www.gnu.org/licenses/>.
20  * *****************************************************************/
21 
22 #ifndef __BG_EDL_H_
23 #define __BG_EDL_H_
24 
25 #include <gmerlin/parameter.h>
26 #include <gmerlin/streaminfo.h>
27 #include <gavl/edl.h>
28 
61 void bg_edl_save(const gavl_edl_t * e, const char * filename);
62 
68 gavl_edl_t * bg_edl_load(const char * filename);
69 
87 void bg_edl_append_track_info(gavl_edl_t * e,
88  const bg_track_info_t * info, const char * url,
89  int index, int num_tracks, const char * name);
90 
106 void bg_edl_track_append_track_info(gavl_edl_t * e, gavl_edl_track_t * track,
107  const bg_track_info_t * info,
108  const char * url, int index, int total_tracks,
109  const char * name);
110 
111 
117 #endif // __BG_EDL_H_
void bg_edl_save(const gavl_edl_t *e, const char *filename)
Save an EDL to an xml file.
void bg_edl_append_track_info(gavl_edl_t *e, const bg_track_info_t *info, const char *url, int index, int num_tracks, const char *name)
Append a bg_track_info_t to the EDL.
void bg_edl_track_append_track_info(gavl_edl_t *e, gavl_edl_track_t *track, const bg_track_info_t *info, const char *url, int index, int total_tracks, const char *name)
Append a bg_track_info_t to an EDL track.
gavl_edl_t * bg_edl_load(const char *filename)
Load an EDL from an xml file.
Track info.
Definition: streaminfo.h:256