Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
VLC
Manage
Activity
Members
Labels
Plan
Issues
4k
Issue boards
Milestones
Code
Merge requests
438
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
VideoLAN
VLC
Commits
c926b2ce
Commit
c926b2ce
authored
3 years ago
by
Thomas Guillem
Browse files
Options
Downloads
Patches
Plain Diff
test: media: don't check directory size
Fixes #26367
parent
b872ee14
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!1037
test: media: don't check directory size
Pipeline
#169584
passed with stage
in 14 minutes and 44 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
test/libvlc/media.c
+2
-4
2 additions, 4 deletions
test/libvlc/media.c
with
2 additions
and
4 deletions
test/libvlc/media.c
+
2
−
4
View file @
c926b2ce
...
...
@@ -244,10 +244,8 @@ static void subitem_added(const libvlc_event_t *event, void *user_data)
ret
=
libvlc_media_get_stat
(
m
,
libvlc_media_stat_size
,
&
value
);
assert
(
ret
==
1
);
/* All files size are 0, directory size is either 4096 or 0 */
if
(
libvlc_media_get_type
(
m
)
==
libvlc_media_type_directory
)
assert
(
value
==
4096
||
value
==
0
);
else
/* All files size are 0, directory size depends on the FS. */
if
(
libvlc_media_get_type
(
m
)
!=
libvlc_media_type_directory
)
assert
(
value
==
0
);
ret
=
libvlc_media_get_stat
(
m
,
libvlc_media_stat_mtime
,
&
value
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment