Open Broadcaster Software
Free, open source software for live streaming and recording
media-remux.h
Go to the documentation of this file.
1 /******************************************************************************
2  Copyright (C) 2014 by Ruwen Hahn <palana@stunned.de>
3 
4  This program is free software: you can redistribute it and/or modify
5  it under the terms of the GNU General Public License as published by
6  the Free Software Foundation, either version 2 of the License, or
7  (at your option) any later version.
8 
9  This program is distributed in the hope that it will be useful,
10  but WITHOUT ANY WARRANTY; without even the implied warranty of
11  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12  GNU General Public License for more details.
13 
14  You should have received a copy of the GNU General Public License
15  along with this program. If not, see <http://www.gnu.org/licenses/>.
16 ******************************************************************************/
17 
18 #include "../util/c99defs.h"
19 
20 #pragma once
21 
22 struct media_remux_job;
23 typedef struct media_remux_job *media_remux_job_t;
24 
25 typedef bool(media_remux_progress_callback)(void *data, float percent);
26 
27 #ifdef __cplusplus
28 extern "C" {
29 #endif
30 
32  const char *in_filename,
33  const char *out_filename);
36  void *data);
38 
39 #ifdef __cplusplus
40 }
41 #endif
EXPORT bool media_remux_job_create(media_remux_job_t *job, const char *in_filename, const char *out_filename)
EXPORT void media_remux_job_destroy(media_remux_job_t job)
struct media_remux_job * media_remux_job_t
Definition: media-remux.h:23
#define EXPORT
Definition: c99defs.h:49
EXPORT bool media_remux_job_process(media_remux_job_t job, media_remux_progress_callback callback, void *data)
bool() media_remux_progress_callback(void *data, float percent)
Definition: media-remux.h:25
#define bool
Definition: vc_stdbool.h:5