equal
deleted
inserted
replaced
25 #include "mdsutils.h" |
25 #include "mdsutils.h" |
26 #include "harvestervideoplugin.h" |
26 #include "harvestervideoplugin.h" |
27 #include "harvesterlog.h" |
27 #include "harvesterlog.h" |
28 #include "harvesterblacklist.h" |
28 #include "harvesterblacklist.h" |
29 #include "mdeobjectwrapper.h" |
29 #include "mdeobjectwrapper.h" |
|
30 #include "mdscommoninternal.h" |
30 |
31 |
31 #include <mdenamespacedef.h> |
32 #include <mdenamespacedef.h> |
32 #include <mdeobjectdef.h> |
33 #include <mdeobjectdef.h> |
33 #include <mdepropertydef.h> |
34 #include <mdepropertydef.h> |
34 #include <mdeobject.h> |
35 #include <mdeobject.h> |
756 if( mime.Ptr() && ( mime.Length() > 0 ) ) |
757 if( mime.Ptr() && ( mime.Length() > 0 ) ) |
757 { |
758 { |
758 aVHD.iMimeBuf = mime.Alloc(); |
759 aVHD.iMimeBuf = mime.Alloc(); |
759 } |
760 } |
760 |
761 |
761 helixMetadata->ResetL(); |
|
762 CleanupStack::PopAndDestroy( helixMetadata ); |
762 CleanupStack::PopAndDestroy( helixMetadata ); |
763 |
763 |
764 // don't destory mime type pointers just clean array |
764 // don't destory mime type pointers just clean array |
765 CleanupStack::PopAndDestroy( &mimes ); |
765 CleanupStack::PopAndDestroy( &mimes ); |
766 |
766 |
1087 { |
1087 { |
1088 CMdeObjectWrapper::HandleObjectPropertyL(mdeObject, *iPropDefs->iAudioFourCCDef, &aVHD.iCodec, aIsAdd ); |
1088 CMdeObjectWrapper::HandleObjectPropertyL(mdeObject, *iPropDefs->iAudioFourCCDef, &aVHD.iCodec, aIsAdd ); |
1089 } |
1089 } |
1090 |
1090 |
1091 // Title |
1091 // Title |
1092 if( aVHD.iTitle && aVHD.iTitle->Length() < iMaxTextLength ) |
1092 if( aVHD.iTitle && aVHD.iTitle->Length() < KMaxTitleFieldLength ) |
1093 { |
1093 { |
1094 CMdeObjectWrapper::HandleObjectPropertyL(mdeObject, *iPropDefs->iTitlePropertyDef, aVHD.iTitle, EFalse ); |
1094 CMdeObjectWrapper::HandleObjectPropertyL(mdeObject, *iPropDefs->iTitlePropertyDef, aVHD.iTitle, EFalse ); |
1095 } |
1095 } |
1096 |
1096 |
1097 // DRM protection |
1097 // DRM protection |