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
31
EXPORT
bool
media_remux_job_create
(
media_remux_job_t
*job,
32
const
char
*in_filename,
33
const
char
*out_filename);
34
EXPORT
bool
media_remux_job_process
(
media_remux_job_t
job,
35
media_remux_progress_callback
callback,
36
void
*data);
37
EXPORT
void
media_remux_job_destroy
(
media_remux_job_t
job);
38
39
#ifdef __cplusplus
40
}
41
#endif
media_remux_progress_callback
bool() media_remux_progress_callback(void *data, float percent)
Definition:
media-remux.h:25
EXPORT
#define EXPORT
Definition:
c99defs.h:37
media_remux_job_process
EXPORT bool media_remux_job_process(media_remux_job_t job, media_remux_progress_callback callback, void *data)
media_remux_job_create
EXPORT bool media_remux_job_create(media_remux_job_t *job, const char *in_filename, const char *out_filename)
media_remux_job_t
struct media_remux_job * media_remux_job_t
Definition:
media-remux.h:23
media_remux_job_destroy
EXPORT void media_remux_job_destroy(media_remux_job_t job)
libobs
media-io
media-remux.h
Generated on Sat Sep 26 2020 00:00:00 for Open Broadcaster Software by
1.8.20