Menu

#5 mxfsplit filename uniqueness

open
nobody
None
5
2009-10-16
2009-10-16
No

The attached patch fixes a problem I have: mxfsplit creates output files carrying the same name. If I dump the essence of four audio tracks of a Panasonic P2 camera, I always have to rename files inbetween. This is tedious (and performs really bad when on ntfs-3g and big files renaming = cp then rm).
Just a suggestion though, and quite hackish as I am a C noob.

There is also a patch included that I needed to make it compile with GCC 4.3.2

Discussion

  • tbart4642272

    tbart4642272 - 2009-10-16

    forgot to mention: applies to 1.0.0; sorry for the inconvenience, I have to look at 1.0.1 later

     
  • tbart4642272

    tbart4642272 - 2009-10-16

    wait wait, this has a bug when using paths other than the $PWD... will fix it

     
  • tbart4642272

    tbart4642272 - 2009-10-16

    fixed it - rather obscure way to do a basename(), but as we don't have this on windows I had to do it like this. still, I am sure there are way better methods to do this.