After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 346262 - Add directory support (playlist)
Add directory support (playlist)
Status: RESOLVED DUPLICATE of bug 776613
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other All
: Normal enhancement
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on: 336951
Blocks:
 
 
Reported: 2006-06-30 06:20 UTC by Lutz Mueller
Modified: 2018-05-01 09:19 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement


Attachments
Makefile.am (261 bytes, text/plain)
2006-06-30 06:20 UTC, Lutz Mueller
Details
gstdir.c (1.29 KB, text/plain)
2006-06-30 06:21 UTC, Lutz Mueller
Details
gstdirsink.h (1.33 KB, text/plain)
2006-06-30 06:21 UTC, Lutz Mueller
Details
gstdirsrc.h (1.32 KB, text/plain)
2006-06-30 06:21 UTC, Lutz Mueller
Details
gstdirsrc.c (5.04 KB, text/plain)
2006-06-30 06:24 UTC, Lutz Mueller
Details
gstdirsink.c (4.65 KB, text/plain)
2006-06-30 06:26 UTC, Lutz Mueller
Details

Description Lutz Mueller 2006-06-30 06:20:06 UTC
There is a file[src,sink]. But no dir[src,sink] yet. Patch to follow.
Comment 1 Lutz Mueller 2006-06-30 06:20:57 UTC
Created attachment 68200 [details]
Makefile.am
Comment 2 Lutz Mueller 2006-06-30 06:21:13 UTC
Created attachment 68201 [details]
gstdir.c
Comment 3 Lutz Mueller 2006-06-30 06:21:32 UTC
Created attachment 68202 [details]
gstdirsink.h
Comment 4 Lutz Mueller 2006-06-30 06:21:47 UTC
Created attachment 68203 [details]
gstdirsrc.h
Comment 5 Lutz Mueller 2006-06-30 06:24:37 UTC
Created attachment 68204 [details]
gstdirsrc.c

Element that creates a pad for each file found in a given directory. If you set the element to PLAYING, all files will get played together. For selecting just one pad (i.e. one file in the directory), see bug #336951 (playlist support).
Comment 6 Lutz Mueller 2006-06-30 06:26:26 UTC
Created attachment 68205 [details]
gstdirsink.c

Element creating one file for each requested pad in a given directory (plugin compiles but has not been tested yet).
Comment 7 Wim Taymans 2006-06-30 15:57:47 UTC
just out of curiosity, how are you using this element? what's the use case?
Comment 8 Lutz Mueller 2006-06-30 20:27:12 UTC
How to use today: See #336951. 
Use case: 
- Proof of concept that this approach for GStreamer playlist support works. 
- Perhaps one day in the future: "totem $HOME/bach/BWV232/".

If you like the concept, I'll continue working on it. If not, just close this bug and probably also the related ones: #336951 (playlist support), #303975 (tar support) and #344937 (oggdemux in combination with chained ogg files) - they all try to solve the problem of handling more than 1 stream.
Comment 9 Sebastian Dröge (slomo) 2011-05-17 08:36:29 UTC
This probably makes sense later once we have some kind of playlist/toc/multi-stream interface, as discussed in all the other bugs. As is this isn't very useful IMHO
Comment 10 Edward Hervey 2013-07-18 06:01:19 UTC
We now have ToC support ... but shouldn't this rather go in the generic playlist support ?
Comment 11 Sebastian Dröge (slomo) 2013-07-18 09:04:32 UTC
Yes, that's more playlist like than TOC. And playlists have to be solved generically still, probably not with elements.
Comment 12 Edward Hervey 2018-05-01 09:19:29 UTC

*** This bug has been marked as a duplicate of bug 776613 ***