Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-1.1
Commits
a659ab1a
Commit
a659ab1a
authored
Jan 06, 2004
by
Jon Lech Johansen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* ./modules/demux/mp4: added some DRMS debug statements.
parent
edc9c954
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
2 deletions
+13
-2
modules/demux/mp4/libmp4.c
modules/demux/mp4/libmp4.c
+9
-1
modules/demux/mp4/mp4.c
modules/demux/mp4/mp4.c
+4
-1
No files found.
modules/demux/mp4/libmp4.c
View file @
a659ab1a
...
...
@@ -2,7 +2,7 @@
* libmp4.c : LibMP4 library for mp4 module for vlc
*****************************************************************************
* Copyright (C) 2001 VideoLAN
* $Id: libmp4.c,v 1.4
0 2004/01/05 12:37:52
jlj Exp $
* $Id: libmp4.c,v 1.4
1 2004/01/06 01:41:10
jlj Exp $
*
* Author: Laurent Aimar <fenrir@via.ecp.fr>
*
...
...
@@ -1215,6 +1215,8 @@ static int MP4_ReadBox_sample_soun( MP4_Stream_t *p_stream, MP4_Box_t *p_box )
if
(
i_ret
)
{
msg_Dbg
(
p_stream
->
p_input
,
"drms_init( UKEY ) failed"
);
drms_free
(
p_box
->
data
.
p_sample_soun
->
p_drms
);
p_box
->
data
.
p_sample_soun
->
p_drms
=
NULL
;
}
...
...
@@ -1983,6 +1985,8 @@ static int MP4_ReadBox_iviv( MP4_Stream_t *p_stream, MP4_Box_t *p_box )
if
(
drms_init
(
p_drms_box
->
data
.
p_sample_soun
->
p_drms
,
DRMS_INIT_IVIV
,
p_peek
,
sizeof
(
uint32_t
)
*
4
)
)
{
msg_Dbg
(
p_stream
->
p_input
,
"drms_init( IVIV ) failed"
);
drms_free
(
p_drms_box
->
data
.
p_sample_soun
->
p_drms
);
p_drms_box
->
data
.
p_sample_soun
->
p_drms
=
NULL
;
}
...
...
@@ -2008,6 +2012,8 @@ static int MP4_ReadBox_name( MP4_Stream_t *p_stream, MP4_Box_t *p_box )
if
(
drms_init
(
p_drms_box
->
data
.
p_sample_soun
->
p_drms
,
DRMS_INIT_NAME
,
p_peek
,
strlen
(
p_peek
)
)
)
{
msg_Dbg
(
p_stream
->
p_input
,
"drms_init( NAME ) failed"
);
drms_free
(
p_drms_box
->
data
.
p_sample_soun
->
p_drms
);
p_drms_box
->
data
.
p_sample_soun
->
p_drms
=
NULL
;
}
...
...
@@ -2032,6 +2038,8 @@ static int MP4_ReadBox_priv( MP4_Stream_t *p_stream, MP4_Box_t *p_box )
if
(
drms_init
(
p_drms_box
->
data
.
p_sample_soun
->
p_drms
,
DRMS_INIT_PRIV
,
p_peek
,
i_read
)
)
{
msg_Dbg
(
p_stream
->
p_input
,
"drms_init( PRIV ) failed"
);
drms_free
(
p_drms_box
->
data
.
p_sample_soun
->
p_drms
);
p_drms_box
->
data
.
p_sample_soun
->
p_drms
=
NULL
;
}
...
...
modules/demux/mp4/mp4.c
View file @
a659ab1a
...
...
@@ -2,7 +2,7 @@
* mp4.c : MP4 file input module for vlc
*****************************************************************************
* Copyright (C) 2001 VideoLAN
* $Id: mp4.c,v 1.4
8 2004/01/05 13:07:02 zorglub
Exp $
* $Id: mp4.c,v 1.4
9 2004/01/06 01:41:10 jlj
Exp $
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
*
* This program is free software; you can redistribute it and/or modify
...
...
@@ -1336,6 +1336,9 @@ static void MP4_TrackCreate( input_thread_t *p_input,
p_track
->
p_drms
=
p_drms
!=
NULL
?
p_drms
->
data
.
p_sample_soun
->
p_drms
:
NULL
;
msg_Dbg
(
p_input
,
"drms%sinitialized"
,
p_track
->
p_drms
==
NULL
?
" not "
:
" "
);
/* Set language */
if
(
strcmp
(
language
,
"```"
)
&&
strcmp
(
language
,
"und"
)
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment