kopia lustrzana https://github.com/kierank/libmpegts
Tidy up DVB descriptors.
rodzic
60e837a6a3
commit
a068751162
|
@ -21,10 +21,10 @@
|
||||||
#include "../common.h"
|
#include "../common.h"
|
||||||
#include "dvb.h"
|
#include "dvb.h"
|
||||||
|
|
||||||
/* Descriptors */
|
/**** PMT Second Loop Descriptors ****/
|
||||||
void write_stream_identifier_descriptor( bs_t *s, uint8_t stream_identifier )
|
void write_stream_identifier_descriptor( bs_t *s, uint8_t stream_identifier )
|
||||||
{
|
{
|
||||||
bs_write( s, 8, STREAM_IDENTIFIER_DESCRIPTOR_TAG ); // descriptor_tag
|
bs_write( s, 8, DVB_STREAM_IDENTIFIER_DESCRIPTOR_TAG ); // descriptor_tag
|
||||||
bs_write( s, 8, 1 ); // descriptor_length
|
bs_write( s, 8, 1 ); // descriptor_length
|
||||||
bs_write( s, 8, stream_identifier ); // component_tag
|
bs_write( s, 8, stream_identifier ); // component_tag
|
||||||
}
|
}
|
||||||
|
|
Ładowanie…
Reference in New Issue